intel / intel/compile-time-init-build
💡`indexed_handler`: Coalesce two or more callbacks with equivalent indexed field conditions into one callback
Open
enhancement
- Dominant language
- C++
- Stars
- 648
- Forks
- 63
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 17
Description
I have a few use cases where the indexed fields for two or more callbacks will have equivalent conditions on those fields. Instead of allocating 2 or more entries in the callback array, we can combine the callbacks into a single callback with a single entry in the array. This can also give the compiler some additional opportunities to optimize the resulting assembly.
Contributor guide
Assessment
This issue has not been assessed yet.