-
Notifications
You must be signed in to change notification settings - Fork 74
Minor networking / serialization changes for better latency on single calls #176
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
Conversation
cb9e322 to
9c3e734
Compare
9c3e734 to
223043b
Compare
| self.a_float = inp.read_float() | ||
| self.a_double = inp.read_double() | ||
|
|
||
| self.bytes_ = inp.read_byte_array() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment: these test changes should not be required anymore and maybe you can add an extra field to test the behaviour when the return value is bytearray
223043b to
b07b94c
Compare
hazelcast/config.py
Outdated
|
|
||
| SERIALIZATION_INPUT_RETURNS_BYTEARRAY = ClientProperty("hazelcast.serialization.input.returns.bytearray", False) | ||
| """ | ||
| Input#read_byte_array returns a List if property is True, otherwise it will return a byte-array. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List if property is True -> List if property is False
Changing this to False -> Changing this to True
b07b94c to
f324c61
Compare
bytearraywhich is slightly concerning because it changes the type of the function, but it gives a good bit of extra boost.