| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 4 days | feat(asset_manager): Implement array-based caching | skal | |
| - Refactored asset manager to use a static array for caching, improving performance and memory efficiency. - Updated asset_packer to correctly generate ASSET_LAST_ID for array sizing. - Modified asset_manager.h to use a forward declaration for AssetId. - Updated asset_manager.cc to use the conditional include for generated asset headers. - Added a test case in test_assets to verify the array-based cache and ASSET_LAST_ID logic. | |||
| 5 days | clang-format | skal | |
| 9 days | refactor(assets): Optimize asset retrieval using array lookup | skal | |
| This refactors the asset management system to be more efficient and cleaner. - Moved common GetAsset/DropAsset logic to src/util/asset_manager.cc. - Changed retrieval to use an array of records (AssetRecord) for O(1) lookups instead of a switch statement. - Updated asset_packer to generate only raw data and the record array. | |||
