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

Enhanced FFMA Region Cache initialization for improved flexibility and manageability #300

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

This PR refines the FFMA region cache initialization process by transitioning from a constructor-based approach to an internal static variable within ffma.c. This updated method offers greater flexibility for testing and simplifies the code structure. Additionally, the refactoring introduces support for varying region sizes, moving beyond the previous 2MB limitation.