rustler
rustler copied to clipboard
Use UTF8 functions
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.