[Python-Dev] Text editors

Paul Prescod paulp@ActiveState.com
Sun, 01 Jul 2001 12:21:09 -0700


Tim Peters wrote:
> 
>...
> 
> > I remember how some text editors used to boast that they only loaded
> > your text "on demand".
> 
> Well, they still do -- fancy editors use fancy data structures, so that,
> e.g., inserting characters at the start of the file doesn't cause a 50Mb
> memmove each time.  

Yes, but most modern text editors take O(n) time to open the file. There
was a time when the more advanced ones did not. Or maybe that was just
SGML editors...I can't remember.
-- 
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook