]> git.openstreetmap.org Git - rails.git/commit
More work on optimisation the location of nearby users - it turns out
authorTom Hughes <tom@compton.nu>
Fri, 5 Jun 2009 09:30:31 +0000 (09:30 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 5 Jun 2009 09:30:31 +0000 (09:30 +0000)
commit5de81dc4b0f514695fe9f24c7c0cf1437137ee1a
tree0d9805e46a08259ebe2956f8faa7217f779baded
parent857eeae8b2bbf4090822bfd5771fbfdbc0425867
More work on optimisation the location of nearby users - it turns out
that getting the database to do the filtering is much better as it
avoids us constructing thousands of user objects only to then throw
most of them away again.
app/models/user.rb
lib/osm.rb