Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

What is the fastest way to subtract two arrays in scala

Should one use `if ($a != NULL)` or `if ($a !== NULL)` to control program flow?

Why does .NET Native compile loop in reverse order?

GEMM kernel implemented using AVX2 is faster than AVX2/FMA on a Zen 2 CPU

How do I optimize a loop which can be fully strict

Threshold an absolute value

Why is strtolower slightly slower than strtoupper?

java micro-optimization: combine set of boolean instance variables to bit vector based on int

In Java, should Integer object be preferred over int primitive (same for other numeric types)?

C++ fixed size arrays vs multiple objects of same type

c++ c micro-optimization

is i=(i+1)&3 faster than i=(i+1)%4

c++ micro-optimization

What is faster in Python, "while" or "for xrange"

python micro-optimization

Is x >= 0 more efficient than x > -1?

How to improve performance on a function that operates on two arrays in clojure

Why move 32-bit register to stack then from stack to xmm register?

Weird performance effects from nearby dependent stores in a pointer-chasing loop on IvyBridge. Adding an extra load speeds it up?

Ever any performance different between Java >> and >>> right shift operators?

Why does the compiler not always optimize away local variables?

Non-virtual interface? (Need a very performant low level abstraction)

Is it useful to check if a Java collection is empty before beginning iteration?