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

Complexity section should doc allocations. #24

Open
Eh2406 opened this issue Apr 3, 2018 · 0 comments
Open

Complexity section should doc allocations. #24

Eh2406 opened this issue Apr 3, 2018 · 0 comments

Comments

@Eh2406
Copy link

Eh2406 commented Apr 3, 2018

I was trying to look up if new() allocates on the heap, or if like std it only allocates when the first item is inserted. Then I wanted to know if clone() allocates, I assume no, but a O(1) allocation on clone would also be persistent. I found the Complexity section of each doc, but did not see an ancer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants