https://github.com/python/cpython/commit/19c11f244ebef492a5b20cd85a3b2e213e85388d
commit: 19c11f244ebef492a5b20cd85a3b2e213e85388d
branch: main
author: Jeremy Hylton <[email protected]>
committer: jeremyhylton <[email protected]>
date: 2024-05-20T16:54:16Z
summary:
gh-119219: Remove two obsolete TODOs. (#119223)
Remove two obsolete TODOs.
files:
M Python/pyarena.c
diff --git a/Python/pyarena.c b/Python/pyarena.c
index ead03370d153c3..7ab370163b2b93 100644
--- a/Python/pyarena.c
+++ b/Python/pyarena.c
@@ -6,9 +6,6 @@
Measurements with standard library modules suggest the average
allocation is about 20 bytes and that most compiles use a single
block.
-
- TODO(jhylton): Think about a realloc API, maybe just for the last
- allocation?
*/
#define DEFAULT_BLOCK_SIZE 8192
@@ -108,7 +105,6 @@ block_alloc(block *b, size_t size)
/* If we need to allocate more memory than will fit in
the default block, allocate a one-off block that is
exactly the right size. */
- /* TODO(jhylton): Think about space waste at end of block */
block *newbl = block_new(
size < DEFAULT_BLOCK_SIZE ?
DEFAULT_BLOCK_SIZE : size);
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]