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

Can we make Value::Integer be a platform-independent size? #21

Open
rw opened this issue Oct 19, 2020 · 0 comments
Open

Can we make Value::Integer be a platform-independent size? #21

rw opened this issue Oct 19, 2020 · 0 comments

Comments

@rw
Copy link

rw commented Oct 19, 2020

Right now, Value::Integer is an isize. That means it's 32 bits on 32-bit systems, and 64 bits on 64-bit systems. Could we change this to be i32 or i64, depending on what Redis provides? Or even a bigint of some kind? I anticipate having a mixture of 32 and 64 bit systems running and getting them to interoperate is confusing when the API is isize. Thanks!

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

No branches or pull requests

1 participant