arjunmehta / node-georedis

Super fast geo queries.
MIT License
192 stars 33 forks source link

Difference on addLocation vs update performance #11

Closed cadrev closed 8 years ago

cadrev commented 8 years ago

Hi, Is there a difference between the performance of addLocation and update? I've been using addLocation as an update procedure as well.

arjunmehta commented 8 years ago

@cadrev Hi! They are actually the exact same method underneath, so perform exactly the same either way. They are just named semantically to help your code.

Hope this helps!