In message <[EMAIL PROTECTED]>
          SteveC <[EMAIL PROTECTED]> wrote:

> I'm very much of the school... that someone should say what was 4
> times slower and why?

[ switched to dev ]

Basically, the getway method. It's mostly just overhead from making
lots of objects and general rails processing I think, combined with
reading all fields from the database instead of just those we need.

The speedup I got was from adding "has_many :nodes" to the way model
and using that to just load nodes without loading way_nodes as well
which saves a whole bunch of object creations and field conversions.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to