-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a u32 index for stream store (#451)
A connection can never have more than u32::MAX >> 1 streams, so we'll never store more than that many in the store slab. Define the `SlabIndex` as a `u32` to reduce the number of bytes moved around.
- Loading branch information
1 parent
78c8ec6
commit 1b01300
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters