Hiya, I noticed something weird while editing this 987 lines long file http://code.haskell.org/lhc/src/Main.hs.
The memory usage is collected via +RTS -sstderr. Just opening the file takes 3 MB. So far so good. Scrolling to the end of the page raises the memory usage to 52 MB (1 MB lost due to fragmentation). Inserting a single space at the end of the file raises memory usage to 129 MB (2 MB lost due to fragmentation). Inserting a bunch of spaces increases the memory usage to 192 MB (3 MB lost). This is with the darcs version of yi (with 2797 patches) compiled with GHC-6.10.1. I'm using the emacs keymap if that matters. -- Cheers, Lemmih --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---