Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

Why doesn't String.equals check for equality of char[] value?

How to minimize the mutex locking for an object when only 1 thread mostly uses that object and the other thread(s) use it rarely?

How well do linkers cope with functions that return quickly?

Determine the optimal size for array with respect to the JVM's memory granularity

Speed up large modular multiplication in base 2^8 without multiplier

Is it faster to prepend to a string with substr?

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?