[OSM-dev] Experiment: AJAX and <canvas> based online editor
Joerg Ostertag (OSM Munich/Germany)
openstreetmap at ostertag.name
Mon Aug 21 09:13:03 BST 2006
On Monday 21 August 2006 09:44, Nick Whitelegg wrote:
> On Friday 18 Aug 2006 20:31, you wrote:
> > I tried running the Venkman Javascript profiler
> > http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.html#profiler
> >
> > Here is part of the output sorted by "time excluding calls in ms" and
> > slightly reformatted:
>
> ...
>
> > It isn't clear to me why the XML processing the callback is so slow.
> >
> > It looks like the OSMData.getNodeById and OSMData.getSegmentById could
> > be improved by using the ID as the array index instead of the a simple
> > linear list.
>
> Thanks, tried that and it has made an *immense* difference. Looks like this
> idea could be a goer... :-)
Doesn't this make the memory used moch more?
--
Jörg (Germany, Munich)
http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
irc://irc.oftc.net/#osm
More information about the dev
mailing list