Interning all the key names could also be useful for speed by allowing a '==' comparison instead of calling String.equals(). Though I suspect the latter tests object identity as its first move, so perhaps your patch improves this enough as a side-effect (and it's safer to not have to think which strings need .equals()!) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- [mkgmap-dev] [PATCH v1] Reduce memory footprint of tags WanMil
- Re: [mkgmap-dev] [PATCH v1] Reduce memory footprint o... Steve Ratcliffe
- Re: [mkgmap-dev] [PATCH v1] Reduce memory footprint o... Toby Speight