-
Notifications
You must be signed in to change notification settings - Fork 8
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
perf: prefer smaller possibly stack allocated strings #43
Conversation
capacity_builder = "0.4.0" | ||
capacity_builder = { version = "0.5.0", features = ["ecow", "hipstr"] } | ||
hipstr = "0.6" | ||
ecow = { version = "0.2.3", features = ["serde"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can swap out these dependencies to try out other stuff. hipstr allows up to 23 bytes so we use that for package names (scoped names are mostly shorter than that) and then ecow is 15 bytes, so used for shorter stuff like tag names, pre/build parts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's try it out
Been meaning to do this for a long time.