danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Optimized Hashtable MCMP Iteration with Max Distance Parameter and Empty Chunk Skipping #306

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

This pull request enhances the hashtable_mcmp_op_data_iter function by incorporating a max_distance parameter, which limits the number of inspected buckets for improved optimization. Additionally, an optimization has been introduced to bypass searching empty chunks when the changes_counter is set to zero, further streamlining the process.