Skip to content

Conversation

lemire
Copy link
Member

@lemire lemire commented Mar 1, 2023

PR on top #250

We can replace to_string(x).size() which might allocate a new string and then destroy it, by a fast function that does not allocate any memory and requires few instructions.

@lemire lemire requested a review from anonrig March 1, 2023 17:01
@anonrig anonrig merged commit ccfc04e into feat-add-url-components Mar 1, 2023
@anonrig anonrig deleted the dlemire/avoid_needless_to_string branch March 1, 2023 17:06
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.

2 participants