Re: [dev] [libgrapheme] Some questions about libgrapheme

From: <>
Date: Fri, 02 Sep 2022 20:19:43 -0300

> If efficiency is not a concern, then you can easily use something like
> this (just a quick prototype, didn't verify if it's correct or not):
> [...]

Thanks for the free code :)
I think that will be the way to go in my case, since most input will be
ascii and moving the cursor will be quite rare

> If I was expecting a decent amount of non-ascii input, I would use the
> bitvector approach described by Thomas Oltmann. 1bit per byte overhead
> should be fine for most use-cases.

I think it is very good too, the only problem is the overhead of having
to preprocess everything

Thank you a lot for helping!
        ~ Arthur Bacci
Received on Sat Sep 03 2022 - 01:19:43 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 03 2022 - 01:24:08 CEST