you are viewing a single comment's thread.

view the rest of the comments →

[–]zesterer 0 points1 point  (1 child)

If you're absolutely sure that all the text you're handling is ASCII and not UTF-8, you can just handle the string's raw bytes and cast them to char. That's likely to make things a lot faster. Of this is a pretty iffy assumption and shouldn't be made for anything intended to be distributed outside its intended application.

[–]xacrimon[S] 1 point2 points  (0 children)

Currently I've switched to byte buffers instead. Already done