On 11/01/2011, at 5:12 AM, Alan Silverstein wrote: > > Absolutely. In fact I wrote a lot of code just like that in the last > few years. Care is required, but then it works well. TANSTAAFL, if you > don't mind possibly serious performance losses, you can always use > languages or tools that manage the memory for you.
It isn't clear there are performance losses :) Felix uses a gc, which itself uses .. Judy Arrays:) Modern GC is not slow, in fact it's believed to be faster than manual memory management. If you have a complex structure you MUST use a GC. For less complex structures, ref counting is required but GC is faster .. its a LOT faster if the data structure is multi-threaded and uses locks on the ref counts. [The Felix GC is naive so it isn't a "modern" GC, because it has to cope with C code] -- john skaller [email protected] ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Judy-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/judy-devel
