10000 gh-119219: Remove two obsolete TODOs. (#119223) · python/cpython@19c11f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19c11f2

Browse files
authored
gh-119219: Remove two obsolete TODOs. (#119223)
Remove two obsolete TODOs.
1 parent 6f7dd0a commit 19c11f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Python/pyarena.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
Measurements with standard library modules suggest the average
77
allocation is about 20 bytes and that most compiles use a single
88
block.
9-
10-
TODO(jhylton): Think about a realloc API, maybe just for the last
11-
allocation?
129
*/
1310

1411
#define DEFAULT_BLOCK_SIZE 8192
@@ -108,7 +105,6 @@ block_alloc(block *b, size_t size)
108105
/* If we need to allocate more memory than will fit in
109106
the default block, allocate a one-off block that is
110107
exactly the right size. */
111-
/* TODO(jhylton): Think about space waste at end of block */
112108
block *newbl = block_new(
113109
size < DEFAULT_BLOCK_SIZE ?
114110
DEFAULT_BLOCK_SIZE : size);

0 commit comments

Comments
 (0)
0