It's not possible to get it easily back as it was, but Way.getBBox() should do the caching now. When I get time I'll add events to Dataset so that Way will know when it's nodes were changed and update it's bbox.
On Tue, Nov 10, 2009 at 6:33 PM, Dave Hansen <[email protected]> wrote: > This changeset: > > http://josm.openstreetmap.de/changeset/2427/ > > removes the way_bbox_cache. Unfortunately, this just *KILLS* > performance. It makes some of my way search tests 10-20x slower. We > use getBBox() really, really often and the CPU we use repeatedly > recreating them ends up being the bottleneck. > > Could we put the way_bbox_cache back temporarily? I don't think it was > hurting anything. > > -- Dave > > _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
