This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Commit 33f379e
make object_directory.loose_objects_subdir_seen a bitmap
There's no point in using 8 bits per-directory when 1 bit
will do. This saves us 224 bytes per object directory, which
ends up being 22MB when dealing with 100K alternates.
Signed-off-by: Eric Wong <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 407532f commit 33f379e
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2461 | 2461 | | |
2462 | 2462 | | |
2463 | 2463 | | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
2464 | 2468 | | |
2465 | 2469 | | |
2466 | | - | |
| 2470 | + | |
2467 | 2471 | | |
2468 | 2472 | | |
2469 | | - | |
| 2473 | + | |
| 2474 | + | |
2470 | 2475 | | |
2471 | 2476 | | |
2472 | 2477 | | |
2473 | 2478 | | |
2474 | 2479 | | |
2475 | 2480 | | |
2476 | 2481 | | |
2477 | | - | |
| 2482 | + | |
2478 | 2483 | | |
2479 | 2484 | | |
2480 | 2485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments