Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

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

Fast search of some nibbles in two ints at same offset (C, microoptimisation)

Why is `-1 * x` faster than `-x` and why?

ruby micro-optimization

In x86-64 asm: is there a way of optimising two adjacent 32-bit stores / writes to memory if the source operands are two immediate values?

Branch on ?: operator?

Which integer operations have higher performance alternate methods in Rust?