Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in micro-optimization
x > -1 vs x >= 0, is there a performance difference
Aug 30, 2022
java
c++
operators
micro-optimization
premature-optimization
Why does mulss take only 3 cycles on Haswell, different from Agner's instruction tables? (Unrolling FP loops with multiple accumulators)
Nov 24, 2021
c
assembly
x86
sse
micro-optimization
Avoiding the overhead of C# virtual calls
Mar 14, 2022
c#
virtual-functions
micro-optimization
fastest way to negate a number
Aug 29, 2022
c++
visual-c++
x86
micro-optimization
visual-c++-2012
Passing null pointer to placement new
Aug 29, 2022
c++
micro-optimization
placement-new
noexcept
Does calculating Sqrt(x) as x * InvSqrt(x) make any sense in the Doom 3 BFG code?
Feb 10, 2019
c++
optimization
micro-optimization
math.h
How exactly do partial registers on Haswell/Skylake perform? Writing AL seems to have a false dependency on RAX, and AH is inconsistent
Apr 05, 2019
assembly
x86
intel
cpu-architecture
micro-optimization
Why does Intel's compiler prefer NEG+ADD over SUB?
Aug 29, 2022
assembly
x86
micro-optimization
icc
Comparing two values in the form (a + sqrt(b)) as fast as possible?
Feb 10, 2022
c++
optimization
algebra
micro-optimization
sqrt
INC instruction vs ADD 1: Does it matter?
Aug 29, 2022
performance
assembly
x86
increment
micro-optimization
Do java finals help the compiler create more efficient bytecode? [duplicate]
Aug 28, 2022
java
optimization
micro-optimization
What does `rep ret` mean?
Aug 28, 2022
assembly
x86
micro-optimization
branch-prediction
' ... != null' or 'null != ....' best performance?
Aug 28, 2022
java
performance
micro-optimization
"enter" vs "push ebp; mov ebp, esp; sub esp, imm" and "leave" vs "mov esp, ebp; pop ebp"
Oct 25, 2022
assembly
x86
stack
micro-optimization
stack-frame
Divide by 10 using bit shifts?
Feb 09, 2018
math
bit
micro-optimization
low-level
integer-division
Does using xor reg, reg give advantage over mov reg, 0? [duplicate]
Aug 27, 2022
assembly
x86
micro-optimization
Weird use of `?:` in `typeid` code
Jan 19, 2021
c++
conditional-operator
micro-optimization
typeid
How to force GCC to assume that a floating-point expression is non-negative?
Nov 09, 2022
c++
gcc
assembly
floating-point
micro-optimization
Fast method to copy memory with translation - ARGB to BGR
Jul 06, 2022
c
x86
rgb
sse
micro-optimization
intel
Is reading the `length` property of an array really that expensive an operation in JavaScript?
Aug 25, 2022
javascript
arrays
micro-optimization
« Newer Entries
Older Entries »