libcollection : Switches from uint to u32 in BitV and BitVSet#18018
libcollection : Switches from uint to u32 in BitV and BitVSet#18018bors merged 1 commit intorust-lang:masterfrom
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