Skip to content

Commit 688f0b8

Browse files
committed
perf(header): reduce HeaderMap layout size with less used fields
The mask doesn't need to be cached, it's easily calculated when needed. The extra values list and the Red danger hash state are not commonly used. So, put those into an optional lazy box that is only made when needed. This reduces the amount of layout space by 5 words.
1 parent d120fd9 commit 688f0b8

1 file changed

Lines changed: 124 additions & 54 deletions

File tree

0 commit comments

Comments
 (0)