Skip to content
  • Henrik Gramner's avatar
    Shrink the i4x4_mode cost_table array · 06c8f6ba
    Henrik Gramner authored and Anton Mitrofanov's avatar Anton Mitrofanov committed
    Only 17 elements are actually used. It was originally padded to 64 bytes to
    avoid cache line splits in the x86 assembly, but those haven't really been
    an issue on x86 CPU:s made in the past decade or so.
    
    Benchmarking shows no performance impact from dropping the padding, so
    might as well remove it and save some cache.
    06c8f6ba