Great deep dive into Emacs' string implementation: http://t.co/y6Xsk82ZGw (strings are crucial in an editor so it has some unusual features)