7 Commits

Author SHA1 Message Date
bluss 182097035d TEST: Update benches for const gen 2021-03-23 18:25:56 +01:00
bluss 675182bcbd TEST: Tweak extend benchmarks, add write benchmark
.write() is explicitly memcpy, so it's nice to compare with.
2018-11-28 16:04:05 +01:00
bluss fa95a80bbc FIX: Rename the extend_from_slice bench 2018-11-28 16:01:23 +01:00
bluss 47827e4843 FIX: Remake extend_from_slice to try_extend_from_slice
Do nothing and return an error, if the slice doesn't fit in the
remaining capacity.
2018-11-28 15:59:11 +01:00
Thomas de Zeeuw 8a8332f886 TEST: add benchmark for extend_from_slice 2018-11-26 13:06:06 +01:00
bluss 23128275ee TEST: Update benchmark for extend_from_slice
The benchmark was optimized out totally. We think of that as a good
sign, the new extend became transparent to the compiler and we had to
get smarter in how to fool it.
2018-11-25 16:34:47 +01:00
bluss af8b746fc4 FEAT: Add benchmarks for .extend() 2017-10-08 17:31:05 +02:00