Skip to content

Commit 2da71a3

Browse files
committed
use u8 for WalkFlags in the hopes that this can save memory.
1 parent b8486f7 commit 2da71a3

File tree

1 file changed

+1
-1
lines changed
  • gix-traverse/src/commit/topo

1 file changed

+1
-1
lines changed

gix-traverse/src/commit/topo/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bitflags! {
2323
// NOTE: The names correspond to the names of the flags in revision.h
2424
#[repr(transparent)]
2525
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
26-
pub(super) struct WalkFlags: u32 {
26+
pub(super) struct WalkFlags: u8 {
2727
/// Commit has been seen
2828
const Seen = 0b000001;
2929
/// Commit has been processed by the Explore walk

0 commit comments

Comments
 (0)