sorry, what exactly is the improvement here?
we grew .text bigger, why should we be happy about it?

Yes, .text size is increased but .data size got decreased.
Overall size will be same. the text segment is often read-only,
to prevent a program from accidentally modifying its instructions.
Here, attribute_group should be const.