3 ms·
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."
by mdda 15y 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."
- thegdb 15y agoThanks. 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.
- mdda 15y agoIn that case, I would think that the indexing stuff (i.e. hash lookups) would be way better than linear already. Cool.
- benatkin 15y agoIt 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.