[OSM-dev] Experiment: AJAX and <canvas> based online editor

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Mon Aug 21 09:38:33 BST 2006


On Monday 21 August 2006 10:27, Nick Whitelegg wrote:
> > > 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?
>
> Does it? I can't see how it would make a significant difference. Isn't it
> just a case of using an associative array rather than regular array?

Yes, that's what I was thinking of. But I'd have called it hash. 

I already changed this in my local copy, but it didn't improove too much. If 
you want I can check these changes into SVN. But I don't know if it's the 
right way.
If you want I can search more from this point. 
Maybe it's worth trying to removing all items from memory as soon as they are 
no longer needed. 
I'm thinking if it would make sense to read all data from the planet script 
into a loacl database and then work with the data from there.

-- 
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