[Scummvm-devel] Release status. Jun 2nd

Eugene Sandulenko sev at scummvm.org
Fri Jun 2 18:47:03 CEST 2006


On Fri, 2 Jun 2006 18:38:02 +0200
Max Horn <max at quendi.de> wrote:

> Anyway, I assume that this explains your recent change to the
> HashMap class (I was wondering about those). Alas, I don't think this
> will solve the problem, to the contrary...  One of the points behind
> the String class was/is actually that it tries to *avoid* as many
> malloc () calls as possible by using ref counting. Of course that
> only works if people use String all over the place, and do not mix
> char constants in too often.
Problem with our String class that it will always call a malloc() to
store refCount and then may call at least once more for string storing.


Eugene




More information about the Scummvm-devel mailing list