Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

C pointers vs direct member access for structs

Improving the Quick sort

Does rearranging a conditional evaluation speed up a loop?

Which of these pieces of code is faster in Java?

Implementing "logical not" using less than 5 bitwise operators

Is it possible to check if any of 2 sets of 3 ints is equal with less than 9 comparisons?

Use two loop bodies or one (result identical)?

Is there a performance overhead to a private inner class in Java?

Can modern x86 implementations store-forward from more than one prior store?

Fast signed 16-bit divide by 7 for 6502

Is there a penalty when base+offset is in a different page than the base?

Why is this assembly code faster?

Micro optimize pointer + unsigned + 1

Fast checking of ranges in Python

Why is movl preferred to movb when translating a C downcast from unsigned int to unsigned char?

Is there any performance difference in using int versus int8_t

c types micro-optimization

Why does gcc compile f(1199) and f(1200) differently?

c gcc arm micro-optimization

On improving Haskell's performance compared to C in fibonacci micro-benchmark

The advantages of using 32bit registers/instructions in x86-64

Copying a bool from a parameter to a global - comparing compilers output