nwrbs
nwrbs
Sure, I understand that, but it does not process the same way a 8 byte integer does. Integer key gets are substantially faster since the comparison math can be done...
I'm not sure about the best way. Personally, I think it should stick to as close to the C LMDB implementation as possible, which would mean the using a Uint64....
Sounds like it could work, especially if the buffer would not need to be converted and the values can be managed via a normal JS number variable.
Yeah, I was afraid of that. What I needed was the ability to have number keys, managed as numbers, into the trillions, which would not work with a 32 integer......
My main apprehension to using buffers is the requirement to change the way a working application is currently functioning. Adding a new, untested methodology storing existing keys and the overhead...
We use integer keys as unique identifiers for multiple databases (10+) and they are shown/used extensively throughout our application. By untested, I mean that the use of the new method...
Venemo, Thank you for the offer, but I'm not sure its worth your effort if it is not binary compatible. I don't want you to have to go to the...
Ok. I completely misunderstood you. I thought you meant I could not use the same binary file (node-lmdb module) to access 32 bit or 64 bit integer keyed data files.....
Yep. My mistake, I misread it.
Yes, I'm still interested. I want V8/Javascript with LMDB to be able to use the Javascript number key with a maximum value of MAX_SAFE_INTEGER (a 53 bit integer). Are you...