We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In tid.rs LEN is defined as:
tid.rs
LEN
sharded-slab/src/tid.rs
Line 47 in 8ebe120
that gives for the default config (MAX_THREADS = 4096) 13 bit space instead of 12:
MAX_THREADS = 4096
assert_eq!(Tid::<crate::cfg::DefaultConfig>::LEN, 13);
Meanwhile, we have two different checks for TID overflow:
Line 163 in 8ebe120
sharded-slab/src/shard.rs
Line 296 in 8ebe120
I've missed something?
The text was updated successfully, but these errors were encountered:
Any thoughts? Maybe I missed something. Extra bit would be most welcome =)
Sorry, something went wrong.
this might be a bug on my part, whoops!
No branches or pull requests
In
tid.rs
LEN
is defined as:sharded-slab/src/tid.rs
Line 47 in 8ebe120
that gives for the default config (
MAX_THREADS = 4096
) 13 bit space instead of 12:Meanwhile, we have two different checks for TID overflow:
sharded-slab/src/tid.rs
Line 163 in 8ebe120
sharded-slab/src/shard.rs
Line 296 in 8ebe120
I've missed something?
The text was updated successfully, but these errors were encountered: