struct stat is large (144 bytes on x86). We use just a handful of fields in it, we can store just those fields we need.
This change reduces sizeof(FileListRec_s) from 200 to 112 on x86_64. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/4297 -- Commit Summary -- * reduce size of struct FileListRec_s -- File Changes -- M build/files.cc (32) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/4297.patch https://github.com/rpm-software-management/rpm/pull/4297.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/4297 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/[email protected]>
_______________________________________________ Rpm-maint mailing list [email protected] https://lists.rpm.org/mailman/listinfo/rpm-maint
