From: Tim R. <om...@ho...> - 2004-09-20 23:35:41
|
Ethan Blanton wrote: >I started a massive effort to move a lot of the strings used by both >protocol plugins and the core into stringrefs, and that had a nontrivial >net savings in memory, particularly if I used a de-duping table to >ensure that no more than one stringref of a given value existed at any >time. However, there didn't seem to be a lot of interest from others in >making sure this happened and the tree is now hopelessly out-of-date. I >bring it up now because it is an option for saving some real memory; >things like buddy screen names and aliases wind up being duplicated all >over the place due to our gratuitous strdup/free habits. > > Really? I was under the impression you tried it some and found out it didn't really help much, and that that was the reason you didn't continue in the effort. Maybe I misunderstood something you said on IRC. Did the others get this impression as well? That would explain their lack of interest. --Tim |