-
Notifications
You must be signed in to change notification settings - Fork 46
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
ahtable uses msb or lsb for two-byte length indicator? #21
Comments
BTW, how is this for a summary of ahtable?
|
I see I'm missing the whole hash aspect of this. Need to mention pre-allocated fixed number of slots and the use of hashing to get to the correct slot number. Also, I must have misunderstood the one key/value pair per slot bit. |
Ahh, finally found a free version of the paper. http://naskitis.com/naskitis-spire05.pdf |
Judging from your pull request, you figured this out already? |
Yes, but I don't work on C code very often, so it was more a confidence
|
I was puzzling over the code this morning and came across this comment:
It seems like that is the least significant bit being set, not the most significant, right? If I understand the Intel convention, the LSB (least significant byte) is then packed into the smaller memory address, so the 0x1 will be in the first byte of the 2-byte word. (Just doing a verbal sanity check :)
The text was updated successfully, but these errors were encountered: