Re: Question for Rob on memory usage
- Posted by Robert Craig <rds at RapidEuphoria.com> May 16, 2002
- 363 views
Andy Serpa writes: > So if I understand you correctly, the bottom line is I can do any of > that sort of stuff without incurring (i.e. doubling) extra memory usage > as long as I never alter the elements themselves? Yes. > Basically, I'm going to be reading in the contents of text files into a > sequence. Each file will equal one element (top-level) of the sequence. > But sometimes it will want to load in a file it already has loaded in > earlier in the sequence, so I want to be able to just scan the contents > of the existing sequence for the filename that is being requested > (filename is also stored), and if it is already loaded in, then just > append to the sequence that same element again instead of actually > loading in the file again and wasting memory... That should work fine. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com