intel / intel/compile-time-init-build

💡`indexed_handler`: Coalesce two or more callbacks with equivalent indexed field conditions into one callback

Open
#456 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.