Hacker News new | ask | show | jobs
by fauigerzigerk 3695 days ago
This looks to me like memory allocation / reference counting is at least part of the problem. Slicing a UTF16View to get another UTF16View mostly likely doesn't involve any dynamic memory allocation at all.