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

Optimize toArray (#846) #848

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

Optimize toArray (#846) #848

wants to merge 3 commits into from

Conversation

re-thc
Copy link
Contributor

@re-thc re-thc commented Jan 24, 2019

replace toArray(new T[size]) with toArray(new T[0]) for better performance

Harry Chan added 3 commits January 24, 2019 16:00
UUID bug fix for postgresql
This reverts commit 31ba727.
replace toArray(new T[size]) with toArray(new T[0]) for better performance
@npurushe
Copy link
Contributor

Do you have any data on how much faster this? will need to see if that is really the case, also will need to check android

@re-thc
Copy link
Contributor Author

re-thc commented Jan 24, 2019

Yes, you can see the reference article that mentions this in the mentioned issue #846 --> https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion

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.

None yet

2 participants