]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: drop bitfields in VTable object
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Jun 2021 12:46:59 +0000 (14:46 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Jun 2021 12:54:19 +0000 (14:54 +0200)
commitcbd4a8df5fb3d69d77451fdb8d177e02e09460d5
treec502b62fb205bb383b02f5953242910afc55addf
parent1ece068e833e4a6dd364379ecfefd88b9f97d2b9
core: drop bitfields in VTable object

The usual: bitfields make sense as a memory-saving measure when we have many
objects of a given type. When the object appears at most in a few copies, the
overhead of additional code to access bitfields is more than the savings.
src/core/unit.h