Silvan Jegen dixit: >If I understand correctly you would use mmap to allocate a sparse >memory area into which we could then directly index (either using >UTF-8 or UTF-32 indices), right? Since mmap needs a file descriptor
I think that wouldn’t help much. >Sadly, I do not follow. I recognize that the lengths of those arrays >multiplied correspond to the maximum number of Unicode code points >(1,114,112) but I am not sure how the mapping (from UTF-8 or UTF-32 >encoding) should be done. Care to enlighten me? Eh, &0xFF and >>8? bye, //mirabilos -- „Also irgendwie hast du IMMER recht. Hier zuckelte gerade ein Triebwagen mit der Aufschrift "Ostdeutsche Eisenbahn" durch Wuppertal. Ich glaubs machmal nicht…“ -- Natureshadow, per SMS „Hilf mir mal grad beim Denken“ -- Natureshadow, IRL, 2x