chaokunyang commented on PR #1997:
URL: https://github.com/apache/fury/pull/1997#issuecomment-2573441782

   @penguin-wwy I try to implement it in  #1997, teh string serialization is 
2X+ faster than pickle for non-latin1 string. But for latin1 string, it's 
slower. Seems we need to implement a special `_PyUnicode_FromUCS1` instead of 
just using 
`PyUnicode_DecodeLatin1/PyUnicode_FromASCII/PyUnicode_FromKindAndData`. I still 
don't know why `PyUnicode_FromKindAndData` is slow. It should be just one 
memory copy


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to