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

Evaluate MoreObjects.ToStringHelper add/addValue Overloading Performance #23

Open
romeara opened this issue Apr 17, 2018 · 0 comments
Open
Labels
question Further information is requested release scope: micro Changes required for the issue are appropriate for a semantically "micro" release

Comments

@romeara
Copy link
Member

romeara commented Apr 17, 2018

In Guava's ToStringHelper, the add and addValue methods were overloaded for primitives, in what appeared to be an attempt to to avoid auto-boxing for performance reasons.

In Alloy as of 0.1.0, we instead chose to only have the Object versions of the methods (initially) to avoid API bloat - we should evaluate how much of a performance difference the overloading provides, to determine if its worth adding into Alloy's version of the utilities

@romeara romeara added the question Further information is requested label Apr 17, 2018
@romeara romeara added the release scope: micro Changes required for the issue are appropriate for a semantically "micro" release label Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested release scope: micro Changes required for the issue are appropriate for a semantically "micro" release
Projects
None yet
Development

No branches or pull requests

1 participant