diff options
author | Jeremy Hylton <32469542+jeremyhylton@users.noreply.github.com> | 2024-05-20 16:54:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 16:54:16 (GMT) |
commit | 19c11f244ebef492a5b20cd85a3b2e213e85388d (patch) | |
tree | 51ed88c0b909f5a2cd594bc47c4fc8ade8e6dfd3 /Python/pyarena.c | |
parent | 6f7dd0a4260254390d75838c84ccc7285a2264f0 (diff) | |
download | cpython-19c11f244ebef492a5b20cd85a3b2e213e85388d.zip cpython-19c11f244ebef492a5b20cd85a3b2e213e85388d.tar.gz cpython-19c11f244ebef492a5b20cd85a3b2e213e85388d.tar.bz2 |
gh-119219: Remove two obsolete TODOs. (#119223)
Remove two obsolete TODOs.
Diffstat (limited to 'Python/pyarena.c')
-rw-r--r-- | Python/pyarena.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pyarena.c b/Python/pyarena.c index ead0337..7ab3701 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); |