rustler icon indicating copy to clipboard operation
rustler copied to clipboard

Use UTF8 functions

Open filmor opened this issue 1 year ago • 0 comments

NIF version 2.17 (OTP 26) got new functions and extended existing functions around strings and atoms to support UTF8 encoded strings directly. As Rust str uses UTF8, this should allow us to simplify the code and potentially also speed things up, as we can skip intermediate allocations.

filmor avatar Aug 10 '24 19:08 filmor