[OSM-dev] Experiment: AJAX and <canvas> based online editor
Nick Whitelegg
nick at hogweed.org
Mon Aug 21 08:44:36 BST 2006
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... :-)
Nick
More information about the dev
mailing list