This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Commit 89a8834
Use bytearray instead of itertools.repeat
from the docs:
> Creating a zero-filled instance with a given length: bytearray(10)
this has the highest likelihood of using a low-level implementation
(hopefully, calloc) to allocate and zero the new array.
- fix lint - remove dead import1 parent 230b0ef commit 89a8834
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments