Y
Hacker News
new
|
ask
|
show
|
jobs
by
nitwit005
2524 days ago
There is a layer of classes, so presumably there are multiple buffers and extra copying. It's also converting the underlying encoding to UTF-16, allocating String objects, and copying the data into them.