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

Wrong usage of longs as part of database keys #9

Open
markus1978 opened this issue Feb 22, 2013 · 0 comments
Open

Wrong usage of longs as part of database keys #9

markus1978 opened this issue Feb 22, 2013 · 0 comments
Labels

Comments

@markus1978
Copy link
Owner

In the index class and index feature indexes, I use longs (extrinsic IDs) as part of the string typed index prefix. This is not ideal because of the alphanumerical order of db indexes. On the other hand it is also irrelevant, because nothing depends on the right order. Even though the numerical successor of key might be alphanumerically larger than a numerical smaller key, we don't have a problem because the prefixes are followed by a unique byte ("_") before the arbitrary rest of the keys.

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

No branches or pull requests

1 participant