-
Notifications
You must be signed in to change notification settings - Fork 13k
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
libcollection : Switches from uint to u32 in BitV and BitVSet #18018
Conversation
Did you run the benches ( CC @apoelstra |
Yup, here are the result with u32 test bitv::tests::bench_bitv_big_iter ... bench: 17185 ns/iter (+/- 634) and the results with uint u32 are faster for everything but unions, for which they are much slower. |
Looks good to me! Thanks a bunch! |
r? @aturon |
…i, r=Veykril feat: Automatically add semicolon when completing unit-returning functions But provide a config to suppress that. I didn't check whether we are in statement expression position, because this is hard in completion (due to the natural incompleteness of source code when completion is invoked), and anyway using function returning unit as an argument to something seems... dubious. Fixes rust-lang#17263.
Closes #16736
linked to #18009