Michael Eischer
367449dede
prune: Reduce memory allocations while repacking
...
The slicing operator `slice[low:high]` default to 0 for the lower bound and
len(slice) for the upper bound when either or both are not specified.
Fix the code to use `cap(slice)` to check for the slice capacity.
2020-08-16 11:34:01 +02:00
..
2020-07-25 21:19:46 +02:00
2020-08-16 11:16:38 +02:00
2020-08-16 11:16:38 +02:00
2020-08-16 11:16:38 +02:00
2020-04-18 17:39:06 +02:00
2018-10-11 19:40:38 +02:00
2018-10-03 11:12:51 +02:00
2018-06-09 23:18:13 +02:00
2020-03-01 10:46:17 +01:00
2020-07-28 23:01:18 +02:00
2020-03-05 22:30:04 +01:00
2020-08-16 11:16:38 +02:00
2018-05-22 20:48:17 +02:00
2020-08-16 11:16:38 +02:00
2019-04-13 13:38:39 +02:00
2019-06-30 23:56:36 +03:00
2020-08-16 11:16:38 +02:00
2020-08-16 11:34:01 +02:00
2020-08-16 11:16:38 +02:00
2020-08-16 11:16:38 +02:00
2019-02-23 11:15:18 +01:00
2020-02-26 22:23:38 +01:00
2018-05-01 14:38:59 +02:00
2020-03-26 14:55:00 -07:00
2020-08-01 12:29:16 +02:00