- 
                Notifications
    
You must be signed in to change notification settings  - Fork 30
 
Closed
Labels
Description
For now, the DecoderState and BitTree structs use memory allocations (in Vec) to store their state, despite having sizes known at compile time. This is in the most part to avoid code duplication.
Once const generics are stable enough, they should be used instead to remove the need for dynamic allocation, and make the whole state struct more compact and contiguous (therefore potentially more cache-friendly).
This should hopefully improve performance a bit.