Hacker News new | ask | show | jobs
by mdda 5455 days ago
Looks great! But the stinger is in the tail : "I think the next thing to add is indexes. Currently everything works via a linear scan of the database."
2 comments

It depends on what you use it for. Without indexes, it could be used for testing without setting up a local MongoDB server, as long as there aren't too many records.
Thanks. Re: indexes - patches welcome :). I don't expect them to be hard to build though. Since embedded-mongo is in memory, they're just a bunch of hash tables.
In that case, I would think that the indexing stuff (i.e. hash lookups) would be way better than linear already. Cool.