On Tue, Sep 26, 2000 at 08:13:08AM -0700, Mark B. Elrod wrote:
> So I am interested in hearing how much memory savings we are seeing
> from all this. Can you run freeamp on your machine pre-patch and
> post-patch with the same playlists, etc. and let us know the memory
> footprints? elrod
Patience. The new compile segfaulted before the GUI came up. Once I see it
stop segfaulting from my patch I will compile clean cvs and my tree with
the same optimizations. Right now I expect only minor memory improvements,
with the removal of many string objects with no data being the main benefit.
In the future the map<string,string> for GUID->(string URL) for
GetFilename will be replaced with GUID->pair<char* Path, char* File>
mapping to allow refcounting of duplicate paths. Unless your collection
of songs is really strangely organized, this will be a benefit.
[ If you need to scale to 10^5 + pathname then you ought to check out
how the locate command caches the data ]
Right now I am using "g++ -O0 -ggdb3" and tarball gdb from cvs
snapshot on 9/20/2000. It seems to mostly work, but some things still
cannot be examined with "print". The install directory
/opt/freeamp-mine is 61 MB.
The nirvana of g++ 3.0 is still elusive.
--
Chris Kuklewicz
_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev