MongoDB, as I’ve mentioned before, is not without its warts. I’ve run into another, and it’s a nasty one. It turns out that if you perform count() on a query cursor that includes any conditions, even if those conditions are indexed, the operation takes O(n) time to run. In practice, I’ve found that this costs [...]
-
About
I'm Chris Heald. I'm a software developer and serial tinkerer from Phoenix, Arizona. I work as Chief Architect for Mashable, where I get to build nifty things. I work primarily in Ruby, Javascript, and PHP, and am always on the lookout for new and interesting things to tinker with. Connect with me on Google+ or Twitter.
Follow @cheald -
Pages
-
Categories
-
Archives
-
Meta