Message198669
> One of most used cases for bytearrays is accumulating.
> And the patch slow down this case.
I see no difference here. You are seeing a 10% slowdown, which is possibly a measurement glitch. The bottom line is that the performance remains approximately the same.
> It offer better performances for "free" only for suboptimal code
> which currently have O(N) instead of O(1).
The problem is the "suboptimal code" is also the natural way to write such code. If you know a simple and idiomatic way to write an optimal bytes FIFO, then please share it with us. Otherwise, I will happily ignore your line of argument here. |
|
Date |
User |
Action |
Args |
2013-09-29 22:56:37 | pitrou | set | recipients:
+ pitrou, vstinner, serhiy.storchaka |
2013-09-29 22:56:37 | pitrou | set | messageid: <1380495397.16.0.408848246366.issue19087@psf.upfronthosting.co.za> |
2013-09-29 22:56:37 | pitrou | link | issue19087 messages |
2013-09-29 22:56:37 | pitrou | create | |
|