Closed
Description
Due to how many different times the layout code is instantiated, seemingly inconsequential changes can have noticeable impact on compile perf.
It may be beneficial to investigate some manual inlining (open coding) of code in the layout code (e.g. replacing ?
and other option/result combinators with match
/return
) to reduce the amount of IR LLVM has to deal with.