Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
LegionMammal978
on July 1, 2024
|
parent
|
context
|
favorite
| on:
Programmers should never trust anyone, not even th...
Really, it's not even random access per se that takes linear time, but random access indexed by code points. You can access the middle of a UTF-8 string just fine if you index by byte position. (Or more generally, by code units for UTF-16.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: