Merge branch 'rs/pack-bits-in-object-better'
By renumbering object flag bits, "struct object" managed to lose bloated inter-field padding. * rs/pack-bits-in-object-better: revision: reallocate TOPO_WALK object flags
This commit is contained in:
4
object.h
4
object.h
@ -58,7 +58,7 @@ struct object_array {
|
||||
|
||||
/*
|
||||
* object flag allocation:
|
||||
* revision.h: 0---------10 15 25----28
|
||||
* revision.h: 0---------10 15 23------26
|
||||
* fetch-pack.c: 01
|
||||
* negotiator/default.c: 2--5
|
||||
* walker.c: 0-2
|
||||
@ -78,7 +78,7 @@ struct object_array {
|
||||
* builtin/show-branch.c: 0-------------------------------------------26
|
||||
* builtin/unpack-objects.c: 2021
|
||||
*/
|
||||
#define FLAG_BITS 29
|
||||
#define FLAG_BITS 28
|
||||
|
||||
/*
|
||||
* The object type is stored in 3 bits.
|
||||
|
Reference in New Issue
Block a user