Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

What does `rep ret` mean?

' ... != null' or 'null != ....' best performance?

"enter" vs "push ebp; mov ebp, esp; sub esp, imm" and "leave" vs "mov esp, ebp; pop ebp"

Divide by 10 using bit shifts?

Does using xor reg, reg give advantage over mov reg, 0? [duplicate]

Weird use of `?:` in `typeid` code

How to force GCC to assume that a floating-point expression is non-negative?

Fast method to copy memory with translation - ARGB to BGR

Is reading the `length` property of an array really that expensive an operation in JavaScript?

Is it possible to tell the branch predictor how likely it is to follow the branch?

Is it more efficient to perform a range check by casting to uint instead of checking for negative values?

Fastest way to strip all non-printable characters from a Java String

Why can't GCC generate an optimal operator== for a struct of two int32s?

Floating point division vs floating point multiplication

When, if ever, is loop unrolling still useful?

what is faster: in_array or isset? [closed]

Why does my application spend 24% of its life doing a null check?

Cost of exception handlers in Python

What is the best way to set a register to zero in x86 assembly: xor, mov or and?

Should I use Java's String.format() if performance is important?