Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

time required in java

java micro-optimization

How is a critical path formed when there is a data dependency between a loop iterations while a CPU executing instructions?

Is it still worth using the Quake fast inverse square root algorithm nowadays on x86-64?

Does Rust optimize for loops over calculated ranges?

Should I use a reference?

Generate FMOV without inline assembly

Why compiled lambda build over Expression.Call is slightly slower than delegate that should do the same?

What is the correct and optimal implementation of atomic_ref and atomic with padding bits?

Micro Optimization of a 4-bucket histogram of a large array or list

Fast BCD addition

What is the optimal way for reading the contents of a webpage into a string in Java?

Efficient extraction of first/only key in a dictionary

Is calling `add` on a memory location faster than calling it on a register and then moving the value?

Cost of a 64bits jump, always 10-22 cycles the first time?

Rotating (by 90°) a bit matrix (up to 8x8 bits) within a 64-bit integer

Saturate short (int16) in C++

What are the pros and cons of int, unsigned int, uint_fastN_t, and int_fastN_t?

Efficient AVX2 implementation of a 17x17-bit squaring operation with result truncation

Adding a byte from memory to the AX register