Skip to content

Commit 3b71054

Browse files
authored
Rollup merge of #147457 - the8472:slice_fill_memset2, r=RalfJung,joboet
specialize slice::fill to use memset when possible It helps const eval performance rust-lang#4616, debug builds and the gcc backend. Previously attempted in rust-lang/rust#83245 but reverted due to unsoundness rust-lang/rust#87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from rust-lang/rust#147294
2 parents 3d9664b + a1bf832 commit 3b71054

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)