Closed kngwyu closed 6 years ago
I want let this PR the first step to migrate to rope or gap buffer, though I'm not sure how useful this bench is.
Here's the result in my PC:
running 6 tests test insert_front ... bench: 11,965,723 ns/iter (+/- 22,957,251) test insert_mid ... bench: 12,255,711 ns/iter (+/- 22,729,515) test insert_tale ... bench: 16,251,569 ns/iter (+/- 23,306,580) test replace_front ... bench: 1,133,044 ns/iter (+/- 50,274) test replace_mid ... bench: 1,178,692 ns/iter (+/- 26,251) test replace_tale ... bench: 1,161,132 ns/iter (+/- 33,664)
(Arch Linux 4.18.4, Intel Core i5-6500)
Thank you!
I want let this PR the first step to migrate to rope or gap buffer, though I'm not sure how useful this bench is.
Here's the result in my PC:
(Arch Linux 4.18.4, Intel Core i5-6500)