Closed defuz closed 8 years ago
Awesome, thanks! I was meaning to look into this in the future, thanks for the help :)
You're welcome! I am writing text editor on Rust and I think that your library will be very helpful. :)
Awesome! Emacs-like? Have you seen https://www.finseth.com/craft/ ? Might be a good read even if you're not righting an emacs-like editor :)
This PR decrease size of
InlinableString
structure:There are two optimization:
u8
instead ofusize
for storing inline lengthString
size + 1 byte (discriminant) + alignment.See detailed explanation into my Reddit comment.