[OSM-dev] API Logic

SteveC steve at asklater.com
Fri Jan 25 16:59:59 GMT 2008


On 25 Jan 2008, at 16:56, Richard Fairhurst wrote:
> SteveC wrote:
>
>> Frankly I couldn't care less, but Richard will scream if the  
>> function is slow.
>
> You can read my mind....
>
>> But again for the updates and deletions I can just copy the tile  
>> attribute from the existing nodes and use that when creating the  
>> OldNode's. It's only when mass creating new ones that it matters,  
>> and I haven't got to that yet.
>
> ...but in fact "legacy" amf_controller.rb doesn't create nodes en  
> masse, it does them one by one, so there shouldn't be a loss in  
> performance:
>
> http://trac.openstreetmap.org/browser/sites/rails_port/app/controllers/amf_controller.rb#L327

well then it makes potlatch even faster :)

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list