Skip to content

Commit aad7a15

Browse files
gpsheadclaude
andcommitted
Simplify block comment for base64 helpers
Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 7458c99 commit aad7a15

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Modules/binascii.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,9 @@ static const unsigned char table_a2b_base64[] Py_ALIGNED(64) = {
103103
#define BASE64_MAXBIN ((PY_SSIZE_T_MAX - 3) / 2)
104104

105105
/*
106-
* Base64 encoding/decoding helpers optimized for throughput.
106+
* Fast base64 encoding/decoding helpers.
107107
*
108-
* Key optimization: Process complete groups (3 bytes -> 4 chars for encode,
109-
* 4 chars -> 3 bytes for decode) without loop-carried dependencies.
110-
* This allows the compiler to better optimize the hot loops.
108+
* Process complete groups without loop-carried dependencies.
111109
*/
112110

113111
/* Align to 64 bytes to ensure table fits in a single L1 cache line */

0 commit comments

Comments
 (0)