Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

Setting and clearing the zero flag in x86

Does stack space required by a function affect inlining decisions in C/C++?

Performance: typedef vs wrapper class for primitive types?

PHP: Check if variable is type of string AND is not empty string?

Quickest and most efficient way to traverse an ArrayList in reverse

Is the python "elif" compiled differently from else: if?

Using SIMD/AVX/SSE for tree traversal

Is it possible to have only one comparison per iteration of a binary search algorithm?

Is it worth writing part of code in C instead of C++ as micro-optimization?

How to speed up tricky random number generation

Use of lazy val for caching string representation

Parsing binary file too slow in C++ using memory-mapped files

fastest way to convert two-bit number to low-memory representation

What is an efficent way to compute floor(log(m / n)), where m and n are integers?

Fully utilizing pipelines on kaby lake

May there be any penalties when using 64/32-bit registers in Long mode?

Fastest polling loop - how can I trim 1 CPU cycle?

Is there overhead using PHP Doc comments vs regular comments?

Code alignment dramatically affects performance