Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 93d53d4b35bdc72585a0fa5d6cf23461a97321cb
https://github.com/Perl/perl5/commit/93d53d4b35bdc72585a0fa5d6cf23461a97321cb
Author: Richard Leach <[email protected]>
Date: 2026-02-08 (Sun, 08 Feb 2026)
Changed paths:
M builtin.c
Log Message:
-----------
Close padding hole in BuiltinFuncDescriptor
The pahole tool, on AMD64, shows that this commit converts:
```
struct BuiltinFuncDescriptor {
const char * name; /* 0 8 */
U16 since_ver; /* 8 2 */
/* XXX 6 bytes hole, try to pack */
XSUBADDR_t xsub; /* 16 8 */
OP * (*checker)(OP *, GV *, SV *); /* 24 8
*/
IV ckval; /* 32 8 */
_Bool is_experimental; /* 40 1 */
/* size: 48, cachelines: 1, members: 6 */
/* sum members: 35, holes: 1, sum holes: 6 */
/* padding: 7 */
/* last cacheline: 48 bytes */
};
```
to
```
struct BuiltinFuncDescriptor {
const char * name; /* 0 8 */
U16 since_ver; /* 8 2 */
_Bool is_experimental; /* 10 1 */
/* XXX 5 bytes hole, try to pack */
XSUBADDR_t xsub; /* 16 8 */
OP * (*checker)(OP *, GV *, SV *); /* 24 8
*/
IV ckval; /* 32 8 */
/* size: 40, cachelines: 1, members: 6 */
/* sum members: 35, holes: 1, sum holes: 5 */
/* last cacheline: 40 bytes */
};
```
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications