Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reword L1 cache line comment
  • Loading branch information
gpshead committed Jan 2, 2026
commit 4b50c736df0c434f313d0a956e9e97921433e179
4 changes: 2 additions & 2 deletions Modules/binascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ get_binascii_state(PyObject *module)
}


/* Align to 64 bytes to ensure table fits in a single L1 cache line */
/* Align to 64 bytes for L1 cache line friendliness */
static const unsigned char table_a2b_base64[] Py_ALIGNED(64) = {
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
Expand Down Expand Up @@ -108,7 +108,7 @@ static const unsigned char table_a2b_base64[] Py_ALIGNED(64) = {
* Process complete groups without loop-carried dependencies.
*/

/* Align to 64 bytes to ensure table fits in a single L1 cache line */
/* Align to 64 bytes for L1 cache line friendliness */
static const unsigned char table_b2a_base64[] Py_ALIGNED(64) =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

Expand Down