On July 11, 2014 1:46:13 AM EEST, Dimitris Papastamos <s...@2f30.org> wrote:
>On Fri, Jul 11, 2014 at 01:43:16AM +0300, Dimitris Zervas wrote:
>> First of all, we haven't even agree in which data structure will we
>use.
>> Buffer gap, piece table, or pointer array?
>
>If you want to tackle this, I'd go with whatever approach you feel most
>comfortable with.
>
>Try to keep it simple, maybe separate out the data structure
>implementation.
>
>I started doing libds[0] at some point.  Not sure if you like it but
>you
>can have a look and fit your data structure interface in a similar
>fashion.
>
>Then just use it in your code.
>
>[0] http://git.2f30.org/libds/
I'll check it, thanks!
I'll try to keep the data structure separate and replaceable...


Reply via email to