I wonder about something, could the LineLayout style buffer be
'run-length'
encoded? it is a 'constant' (once loaded, never touched) and we access it
from left to right/right to left no? maybe it's heavy stuff though to add
a
small iterator on that
Run length encoding hasn't been a significant win when I have
looked at it in the past due to short average runs but you could do
some experiments to see if it is with wider style elements.
the problem is that I really do not have time currently to dig into
solutions... which i do not need for myself
if someone is ready to investigate seriously something which is acceptable
in main stream Scintilla (I have plenty of ideas but no time), i can send a
patch for the CellBuffer stuff (its a bit mixed with the SC_START_ACTION
notification stuff), note that the modifs touches somewhat Document also
because Document uses a bit too eagerly internal cell buffer coordinates
(i.e. pre-multiplied by the number of bytes per char). There are also
modifications in Accessors so as to use the additional bits.
Armel
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest