Skip to content
  • heapo's avatar
    Improve msvc codegen for hot-path array LUTs · 7853e6b5
    heapo authored
    In some constexpr functions, msvc is building the LUT at runtime
    (pushing each element onto the stack) out of an abundance of caution. Moving the
    arrays into be file-scoped constexpr's avoids this and turns the functions into
    simple look-ups as intended.
    7853e6b5
Loading