Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in 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?

C++ Adding 2 arrays together quickly

Fast Euclidean division in C

Avoiding AVX-SSE (VEX) Transition Penalties