naryl пишет: > Weed Wrote: >> BCS яПНяПНяПНяПНяПН: >>> Yes you can be >>> very careful in keeping track of pointers (not practical) or use smart >>> pointers and such (might end up costing more than GC) >> I am do not agree: GC overexpenditure CPU or memory. Typically, both. > > I wouldn't be so sure about CPU: > http://shootout.alioth.debian.org/debian/benchmark.php?test=all&lang=gdc&lang2=gpp&box=1
You should not compare benchmarks - they depend on the quality of the testing code. But it is important to provide an opportunity to write a program efficiently.
