Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 201c1d0cbc98dfca5bd9a48299b8ae82e9b6cc5e
https://github.com/Perl/perl5/commit/201c1d0cbc98dfca5bd9a48299b8ae82e9b6cc5e
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M sv.c
M sv.h
M sv_inline.h
Log Message:
-----------
Store ObjectFIELDS() in sv_u union
When I originally created the object system I forgot about the `sv_u`
union, where e.g. AVs store the actual array pointer. This would have
been a good place to store the fields array, rather than in the XPVOBJ
extension structure.
Moving it there may make a tiny performance improvement (because of
fewer indirect pointer accesses), but more importantly will reduce the
memory size of all object instances by one pointer storage.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications