[Scummvm-devel] Make class String case insensitive by default?

Johannes Schickel lordhoto at gmail.com
Sat Jul 22 23:38:16 CEST 2006


> Adding a data field to all strings for this purpose alone seems like a
> pointless waste of memory.  Better to add a second comparison method
> if we need both kinds.

I thought of adding one bool which is used for the mode to use, this
would of course need branching for every comparison function, but it
shouldn't be that slow nor a big waste of memory.

// Johannes




More information about the Scummvm-devel mailing list