Closed as not planned
Description
Describe the feature
ref: #12842 (comment)
ref: #12842
The main reason this consumes so much storage or allocation I should say is because it's way too cache unoptimized, the whole fetcher.rs
seems like it's not taking advantage of the cache instead there are more reads to the main memory instead, a common example should be
- Hash lookups that are not needed (this might seem efficient with 0(1) constant time indexing but it's not)
Hash set
with maximum size of 8 should be replaced with aVec
, of course this might not seem logical for indexing but for small data structure it's all about being contiguous in memory- Scattered memory access, this leads to more cache miss
in all the reason for such allocation and latency is just because we are not using the cache efficiently,
Additional context
I don't think any amount of code removal or algorithmic reduction will make this more efficient apart from the using the cache efficiently
Metadata
Metadata
Assignees
Labels
Type
Projects
Status