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

time.Ranges.AddRange uses 15% of alloc spaces. #2170

Closed
yinovator opened this issue Feb 24, 2020 · 0 comments · Fixed by #2178
Closed

time.Ranges.AddRange uses 15% of alloc spaces. #2170

yinovator opened this issue Feb 24, 2020 · 0 comments · Fixed by #2178

Comments

@yinovator
Copy link
Collaborator

AddRange will do a clone every time it's called, which seems not necessary, and it's contributing upto 15% of the allocated heap spaces.

image

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 a pull request may close this issue.

1 participant