Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BTree Indexing to File Backend #9

Open
adewes opened this issue Apr 22, 2014 · 0 comments
Open

Add BTree Indexing to File Backend #9

adewes opened this issue Apr 22, 2014 · 0 comments

Comments

@adewes
Copy link
Owner

adewes commented Apr 22, 2014

Currently the file-based backend uses a simple hash map to store indexes on disk. This has the drawback that loading and storing the index becomes very expensive when many documents are in a given collection.

Help us to improve the file backend by adding a BTree-based index:

  • Create a subclass derived from TransactionalIndex
  • Redefine the add_key and remove_key so that they use a BTree to instantly store keys in the index

This is a complex task, please feel free to ask questions and post comments and ideas in this thread!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant