Hacker News new | ask | show | jobs
by StavrosK 5236 days ago
Hah, I just posted this comment two seconds ago:

http://news.ycombinator.com/item?id=3599633

I pushed the README before the indexing code, but it's coming by next week. I'm also planning to have other operators, as you suggest (basically, anything SQLite allows will be allowed).

Nested structures will take a bit more work, but I don't see why they shouldn't be possible (the index would just look like "mydict.somekey" rather than "mydict").

I'd like to keep the project small, but I don't see the above changes taking a lot of code. The index creation code is just 7 more lines.

1 comments

Fair enough. Might I suggest you put a comment to the effect of "indexes are a work in progress" in the README for now? Would help users that just run into it on Github randomly.
I have pushed the index code, now it uses the best available index for each query. I will need to test it more extensively, though.
I will do that now.