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

Fields optimization #37

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

charlesbr1
Copy link
Contributor

Made use of converters in some fields to convert value to a string, this way it avoid some allocations.
Optimize the DoubleField class to efficiently manage 'double' by not mandatory converting them to 'Double'.

A cache for strings of integers
See pull request
Allocations optimization for converters quickfix-j#34
See pull request
Allocations optimization for converters quickfix-j#34
See pull request
Allocations optimization for converters quickfix-j#34
See pull request
Allocations optimization for converters quickfix-j#34
Improve the way data attribute is cached (reuse the data field in toString(...) method.
Use thread local buffer to generate the data attribute.
Use the Boolean converter to convert the value to a string
Use the DoubleConverter to convert value to a string.
Avoid creation of a Double instance when using a scalar double.
Use the UtcDateOnlyConverter converter to convert value to a string
Use the UtcTimeOnlyConverter converter to convert value to a string
Use the UtcTimestampConverter converter to convert value to a string
Avoid string allocation when storing next target / sender sequence number
Double value improperly converted to string
fixed a regression on double conversion
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

Successfully merging this pull request may close these issues.

1 participant