Closed msaf1980 closed 3 years ago
As far as I got, here instead of strings now something like a memory-efficient buffer is used. Am I right?
Unfortunately, we don't use the tags, so I can't check if it works. Would be nice to get some approves if somebody uses it.
As far as I got, here instead of strings now something like a memory-efficient buffer is used. Am I right?
Unfortunately, we don't use the tags, so I can't check if it works. Would be nice to get some approves if somebody uses it.
Yes. And reduce allocation during string to bytes conversion. I'll use this in our production environment.
Some perfomance optimizations for receiver: 1) One pass escape with direct write
Original version
2) Convert string to []bytes with unsafe method (no allocation)
Original version