On Tue, Nov 4, 2008 at 8:04 AM, Ville M. Vainio <[EMAIL PROTECTED]> wrote:
>
> On Tue, Nov 4, 2008 at 4:00 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote:
>
>> Save ram?  Who cares about ram?
>
> People that will have 1 gig text files as external files ;-). I agree
> that it's probably premature optimization.

I don't think it is any kind of optimization.  It would complicate
Leo's code and data model to no purpose.  The proper time to create
Leo's nodes is when a file is read.  Thereafter, the OS can handle
memory allocation.  All nodes will be needed when c.allNodes_iter is
executed, so all this "optimization" does is fragment access to the
disk.  It's a bad idea in the presence of virtual memory.

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to