News for hackers. Stuff that matters.
Re:UCS vs. UTF-8 as Internal String Encoding by derefr on Thursday May 28, 2015 @11:34PM (#9622546)
I meant more something like RLE or simple Huffman encoding. A "string" type like Redis's dict type or ObjC's array type, where the internal representation changes as the allocated object grows in size and therefore is worth making different trade-offs on. (So, a five-byte string, maybe UTF-8 is a fine encoding. A 3KB string? Worth prepending a compression dictionary to.)

There are no comments on this comment yet.