Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vlmutolo
on March 26, 2021
|
parent
|
context
|
favorite
| on:
String length functions for single emoji character...
Performance is one reason. UTF-8 is up to twice as compact as UTF-16, which allows much better cache locality. And for Latin-like text, you’re probably frequently hitting the 2x better limit.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: