Alejandro Torras wrote:
> I didn't know that strings in textareas are handled by singly-linked
> lists. It's nice to know it :-)
Not strings in textareas per se. All layout objects, period. It's a tree, with
the children of any given node being a singly linked list.
> I agree with you that O(N^2) is faster than O(N) but my test doesn't
> match with the theory.
Hmm. You came out with moving to the right being slower, eh?
You could try profiling. If you can't figure out how, point me to a testcase
and I could try it...