Skip to content

Commit

Permalink
Use more different pool sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Dec 12, 2023
1 parent 8aefe46 commit 7c2b510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Include/internal/pycore_obmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ typedef unsigned int pymem_uint; /* assuming >= 16 bits */
*/

#if SIZEOF_VOID_P > 4
#define ALIGNMENT 16 /* must be 2^N */
#define ALIGNMENT_SHIFT 4
#define ALIGNMENT 8 /* must be 2^N */
#define ALIGNMENT_SHIFT 3
#else
#define ALIGNMENT 8 /* must be 2^N */
#define ALIGNMENT_SHIFT 3
Expand Down

0 comments on commit 7c2b510

Please sign in to comment.