Concurrent BloomFilter

If you have the need to create a BloomFilter against a very large data set, you might be interested. The problem arised from such need in my work, as I have a set of 3 million keywords or more, I need to find a way to create a BloomFilter correct and fast. Naturally, iterating such…

Sth wrong about dustjs templates’ partial reference

i hope i got this part wrong, but according to http://akdubya.github.com/dustjs/ explaining partial reference; it says for {>partial/} it references a template whose name is partial, it’s not a path expression whose evaluated value represents the template reference? ok, let’s get away from it, that’s not the main concern, the actual concern is the syntax of…

MongoDB pagination speed boost

if you’ve used mongodb’s skip() and limit() to do ur pagination, you might have noticed it’s possibly as slow as your number of documents. No surprise, skip is O(n) operation by natural. What I wanted to achieve was a much faster pagination, somehow making skip or alternative an O(1) operation. It’s a perfect world if…