Gang Of Coders
Home
About Us
Contact Us
All Micro Optimization Solutions on Gang of Coders
Total of 22 Micro Optimization Solutions
Divide by 10 using bit shifts?
Math
Bit
Micro Optimization
Low Level
Integer Division
' ... != null' or 'null != ....' best performance?
Java
Performance
Micro Optimization
"enter" vs "push ebp; mov ebp, esp; sub esp, imm" and "leave" vs "mov esp, ebp; pop ebp"
Assembly
X86
Stack
Micro Optimization
Stack Frame
What does `rep ret` mean?
Assembly
X86
Micro Optimization
Branch Prediction
Should I use Java's String.format() if performance is important?
Java
String
Performance
String Formatting
Micro Optimization
What is the best way to set a register to zero in x86 assembly: xor, mov or and?
Performance
Assembly
Optimization
X86
Micro Optimization
Cost of exception handlers in Python
Python
Performance
Exception
Micro Optimization
what is faster: in_array or isset?
Php
Performance
Micro Optimization
Why does my application spend 24% of its life doing a null check?
C#
Performance
Optimization
Il
Micro Optimization
When, if ever, is loop unrolling still useful?
Performance
Optimization
Language Agnostic
Micro Optimization
Loop Unrolling
Floating point division vs floating point multiplication
C++
Floating Point
Micro Optimization
Why can't GCC generate an optimal operator== for a struct of two int32s?
C++
Gcc
X86 64
Compiler Optimization
Micro Optimization
Fastest way to strip all non-printable characters from a Java String
Java
String
Performance
Optimization
Micro Optimization
Which is better option to use for dividing an integer number by 2?
C++
C
Optimization
Division
Micro Optimization
Is it more efficient to perform a range check by casting to uint instead of checking for negative values?
C#
Performance
Micro Optimization
Numeric Conversion
Range Checking
Is it possible to tell the branch predictor how likely it is to follow the branch?
C
Gcc
X86
Compiler Optimization
Micro Optimization
Is reading the `length` property of an array really that expensive an operation in JavaScript?
Javascript
Arrays
Micro Optimization
Fast method to copy memory with translation - ARGB to BGR
C
X86
Rgb
Sse
Micro Optimization
How to force GCC to assume that a floating-point expression is non-negative?
C++
Gcc
Assembly
Floating Point
Micro Optimization
Does using xor reg, reg give advantage over mov reg, 0?
Assembly
X86
Micro Optimization
Weird use of `?:` in `typeid` code
C++
Conditional Operator
Micro Optimization
Typeid
What is the fastest way to find if a number is even or odd?
C
Micro Optimization