However, I think that when the cache is implemented, and I type '250dd' in the middle of a 3000-line file, linked list will not be much slower than splice(), or maybe even faster (or maybe I am just fooling myself).
I think the implementation is such because back when I was contemplating this program, back in July, I was convinced by some people and some programming literature that all editors are written using linked lists. I did not want to swim against the stream. We'll see how it pans out, I guess, I can always rewrite v_list using arrays.
Thank God for OO! :)
- Dmitri.
In reply to RE: RE: VI in Perl
by dmitri
in thread VI in Perl
by dmitri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |