Ruby Ruby 2.2: Minimize cache misshit to gain optimal speed

ksec · January 05, 2014 · Last by luikore replied at January 05, 2014 · 2938 hits

cache line 魔法... 5qword -> 8qword 速度有 6% 的轻微提升,但是平均多 25% 的内存消耗,最差情况会多耗 60% 内存,很可能还要调整... 估计最后会改成 6qword 的方案 (速度 +3%, 目测内存消耗 +5%)

You need to Sign in before reply, if you don't have an account, please Sign up first.