Gang Of Coders
Home
About Us
Contact Us
All Optimization Solutions on Gang of Coders
Total of 299 Optimization Solutions
Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"?
Javascript
Html
Performance
Optimization
Href
What is the purpose of the "role" attribute in HTML?
Html
Optimization
Seo
Roles
How can I know which parts in the code are never used?
C++
Optimization
Dead Code
Is "==" in sorted array not faster than unsorted array?
C
Arrays
Performance
Optimization
Sortedlist
Elegant way to remove items from sequence in Python?
Python
Optimization
Set
Series
What can I do in Java code to optimize for CPU caching?
Java
Optimization
Caching
Why does Java's ArrayList's remove function seem to cost so little?
Java
Performance
Optimization
Arraylist
Why does a small change to this Scala code make such a huge difference to performance?
Performance
Optimization
Scala
HTML5 Canvas Performance and Optimization Tips, Tricks and Coding Best Practices
Javascript
Performance
Optimization
Canvas
How do I ask for "at least" a size of an int in C
C++
C
Optimization
Speed difference in using inline strings vs concatenation in php5?
Php
Optimization
Performance
SSE SSE2 and SSE3 for GNU C++
C++
Optimization
Simd
Sse
Sse2
Profiling a Java Application in Eclipse? (plug-in)
Java
Eclipse
Optimization
Profiling
Plugins
very quickly getting total size of folder
Python
Optimization
Directory
What is the fastest way to update a variable on a condition?
C++
Optimization
likely/unlikely equivalent for MSVC
Visual Studio
Gcc
Optimization
Compiler Construction
Likely Unlikely
Is RVO (Return Value Optimization) applicable for all objects?
C++
Optimization
Gcc
What is the difference between intXX_t and int_fastXX_t?
C
Optimization
Types
Integer
C99
The best way to get the first and last day of last month?
Php
Mysql
Optimization
Date
GMSPolyline very large memory spike
Optimization
Memory Management
Gps
Google Maps-Sdk-Ios
Why does glibc's strlen need to be so complicated to run quickly?
C
Optimization
Glibc
Portability
Strlen
How do I position one image on top of another in HTML?
Html
Css
Optimization
Graphics
ES6 Tail Recursion Optimisation Stack Overflow
Javascript
Recursion
Optimization
Ecmascript 6
Stack Overflow
Is if(A | B) always faster than if(A || B)?
C++
Optimization
Benchmarking
Branch Prediction
Measuring Query Performance : "Execution Plan Query Cost" vs "Time Taken"
Sql
Sql Server
Sql Server-2005
Optimization
Sql Execution-Plan
Useful Android system resources
Android
Optimization
Resources
Why not mark everything inline?
C++
Optimization
Inline
Tradeoff
Move or Named Return Value Optimization (NRVO)?
C++
Optimization
C++11
Move Semantics
Return Value-Optimization
Cleanest way to copy a constant size array in c++11
C++
Arrays
Optimization
C++11
Copy
How does this float square root approximation work?
C++
C
Optimization
Floating Point
Ieee 754
ResultSet: Retrieving column values by index versus retrieving by label
Java
Optimization
Jdbc
Resultset
Maintenance
Time complexity of memory allocation
Optimization
Memory Management
Malloc
Time Complexity
"SELECT COUNT(*)" is slow, even with where clause
Mysql
Performance
Optimization
Optimizing member variable order in C++
C++
Performance
Optimization
Embedded
How can i benchmark method execution time in java?
Java
Optimization
What does Python optimization (-O or PYTHONOPTIMIZE) do?
Python
Optimization
Python 3.x
why are draw calls expensive?
Performance
Optimization
Graphics
3d
Gpu
Java split String performances
Java
String
Performance
Optimization
Split
Swapping the dimensions of a numpy array
Python
Arrays
Optimization
Numpy
Dimensions
deepcopy() is extremely slow
Python
Optimization
Deep Copy
Inline functions in C#?
C#
Optimization
Inline
STL vectors with uninitialized storage?
C++
Optimization
Stl
Vector
What does "Cannot evaluate expression because the code of the current method is optimized." mean?
C#
.Net
Debugging
Optimization
Compiler Construction
What is an Efficient algorithm to find Area of Overlapping Rectangles
Algorithm
Optimization
Geometry
Performance
Memory Allocation/Deallocation Bottleneck?
Performance
Optimization
Memory Management
Garbage Collection
Malloc
Does multithreading make sense for IO-bound operations?
Multithreading
Optimization
Which is faster? Comparison or assignment?
Performance
Optimization
Refactoring
Accelerate bulk insert using Django's ORM?
Django
Optimization
Orm
Bulkinsert
For { A=a; B=b; }, will "A=a" be strictly executed before "B=b"?
C++
C
Optimization
Compiler Construction
Standards
Why doesn't GCC optimize structs?
C
Optimization
Gcc
Struct
Constants and compiler optimization in C++
C++
Optimization
Compiler Construction
What is the use of Python's basic optimizations mode? (python -O)
Python
Optimization
Assert
Bytecode
Can the linker inline functions?
C
Optimization
Linker
Inline
Clang vs GCC - which produces faster binaries?
Optimization
Gcc
Compiler Construction
Clang
Benchmarking
Ackermann very inefficient with Haskell/GHC
Performance
Haskell
Optimization
Recursion
Benchmarking
Once upon a time, when > was faster than < ... Wait, what?
C
Optimization
Opengl
Cpu
Gpu
Should I minimize the number of docker layers?
Docker
Optimization
Dockerfile
Layer
SQL: How to properly check if a record exists
Sql
Optimization
Query Optimization
How to write a large buffer into a binary file in C++, fast?
C++
Performance
Optimization
File Io
Io
Storing JSON in database vs. having a new column for each key
Mysql
Sql
Sql Server
Database
Optimization
Is optimisation level -O3 dangerous in g++?
C++
Optimization
G++
Compiler Flags
Declaring variables inside or outside of a loop
Java
Optimization
While Loop
Fastest way to convert string to integer in PHP
Php
Optimization
Casting
Rounding up to next power of 2
C
Optimization
Bit Manipulation
Why is transposing a matrix of 512x512 much slower than transposing a matrix of 513x513?
C++
Performance
Optimization
How to log a method's execution time exactly in milliseconds?
Ios
Objective C
Optimization
Time
Why is i-- faster than i++ in loops?
Javascript
Performance
Algorithm
Optimization
Where to place JavaScript in an HTML file?
Javascript
Html
Optimization
Why would introducing useless MOV instructions speed up a tight loop in x86_64 assembly?
Performance
Optimization
Assembly
X86 64
Freepascal
Big O, how do you calculate/approximate it?
Algorithm
Optimization
Complexity Theory
Big O
Performance
Why is Swift compile time so slow?
Swift
Optimization
Compilation
Type Inference
Compilation Time
Ternary operators in JavaScript without an "else"
Javascript
Optimization
Syntax Error
What Every Programmer Should Know About Memory?
Optimization
Memory
X86
Cpu Architecture
Cpu Cache
Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly?
C++
Performance
Assembly
Optimization
X86
MYSQL OR vs IN performance
Mysql
Sql
Performance
Optimization
Measuring execution time of a function in C++
C++
Optimization
Profiling
Improve INSERT-per-second performance of SQLite
C
Performance
Sqlite
Optimization
Why is early return slower than else?
Python
Optimization
Python 2.7
What is the difference between Unary Plus/Number(x) and parseFloat(x)?
Javascript
Optimization
Is it better to use std::memcpy() or std::copy() in terms to performance?
C++
Performance
Optimization
Java Reflection Performance
Java
Performance
Optimization
Reflection
What is the effect of ordering if...else if statements by probability?
C++
Performance
If Statement
Optimization
Branch Prediction
What optimizations can GHC be expected to perform reliably?
Optimization
Haskell
Ghc
Detect If Browser Tab Has Focus
Javascript
Optimization
Polling
Why can lambdas be better optimized by the compiler than plain functions?
C++
Optimization
C++11
Lambda
Compiler Optimization
Which is fastest? SELECT SQL_CALC_FOUND_ROWS FROM `table`, or SELECT COUNT(*)
Mysql
Optimization
Advantage of switch over if-else statement
C++
If Statement
Optimization
Switch Statement
Is "for(;;)" faster than "while (true)"? If not, why do people use it?
C++
C
Optimization
Readability
Infinite Loop
Meaning of acronym SSO in the context of std::string
C++
String
Optimization
Can I hint the optimizer by giving the range of an integer?
C++
Optimization
Integer
Range
Compiler Optimization
Why is the shovel operator (<<) preferred over plus-equals (+=) when building a string in Ruby?
Ruby
String
Optimization
Java NIO FileChannel versus FileOutputstream performance / usefulness
Java
Optimization
File
Nio
Operations
What is copy-on-write?
Optimization
Design Patterns
Data Structures
Copy on-Write
Proxy Pattern
Tricky Google interview question
Algorithm
Optimization
Hamming Numbers
Smooth Numbers
Handling very large numbers in Python
Python
Optimization
Largenumber
What is the smallest possible valid PDF?
Pdf
Optimization
Pdf Generation
Is Disney's FastPass Valid and/or Useful Queue Theory
Algorithm
Optimization
Performance
Profiling Vim startup time
Debugging
Optimization
Vim
Profiling
while (1) Vs. for (;;) Is there a speed difference?
C++
Perl
Optimization
Performance
Which, if any, C++ compilers do tail-recursion optimization?
C++
Optimization
Tail Recursion
What is the best way to set a register to zero in x86 assembly: xor, mov or and?
Performance
Assembly
Optimization
X86
Micro Optimization
Do sealed classes really offer performance Benefits?
.Net
Optimization
Frameworks
Performance
Set every cell in matrix to 0 if that row or column contains a 0
Algorithm
Optimization
Puzzle
SQL Server indexes - ascending or descending, what difference does it make?
Sql
Sql Server
Optimization
Indexing
Beyond Stack Sampling: C++ Profilers
C++
Qt
Optimization
Profiling
Profiler
What's the "average" requests per second for a production web application?
Optimization
What is the most ridiculous pessimization you've seen?
Performance
Optimization
Why is (a % 256) different than (a & 0xFF)?
C++
Optimization
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
C
Algorithm
Optimization
Bit Manipulation
What is more efficient? Using pow to square or just multiply it with itself?
C++
C
Optimization
Why is Magento so slow?
Php
Magento
Optimization
Why does the Java API use int instead of short or byte?
Optimization
Types
Java
Virtual functions and performance - C++
C++
Performance
Optimization
Virtual Functions
Position of least significant bit that is set
C++
C
Optimization
Bit Manipulation
Getting all types that implement an interface
C#
Optimization
Reflection
Lambda
C# 3.0
Performance optimization strategies of last resort
Performance
Optimization
Language Agnostic
Any optimization for random access on a very big array when the value in 95% of cases is either 0 or 1?
C++
Arrays
Performance
Optimization
Memory Bandwidth
Coalesce function for PHP?
Php
Optimization
Null Coalescing-Operator
What is the most effective way for float and double comparison?
C++
Algorithm
Optimization
Floating Point
In release mode, code behavior is not as expected
C++
C
Optimization
Visual Studio-2008
Compiler Bug
Why is a simple loop optimized when the limit is 959 but not 960?
C
Gcc
Optimization
Clang
What is the most "pythonic" way to iterate over a list in chunks?
Python
List
Loops
Optimization
Chunks
How do I choose grid and block dimensions for CUDA kernels?
Performance
Optimization
Cuda
Gpu
Nvidia
Why does Clang optimize away x * 1.0 but NOT x + 0.0?
C++
C
Optimization
Floating Point
Clang
Different ways of adding to Dictionary
C#
Optimization
Dictionary
Using this pointer causes strange deoptimization in hot loop
C++
C++11
Optimization
Compiler Optimization
Strict Aliasing
Quickly find whether a value is present in a C array?
C
Optimization
Assembly
Embedded
Arm
How to overload std::swap()
C++
Performance
Optimization
Stl
C++ Faq
Is the ternary operator faster than an "if" condition in Java
Java
Performance
Optimization
How many GCC optimization levels are there?
C
Optimization
Gcc
Compiler Construction
How to split/partition a dataset into training and test datasets for, e.g., cross validation?
Python
Arrays
Optimization
Numpy
Logger slf4j advantages of formatting with {} instead of string concatenation
Optimization
Logging
Concatenation
String Formatting
Slf4j
Why doesn't .NET/C# optimize for tail-call recursion?
C#
.Net
Optimization
Tail Recursion
Optimising Android application before release
Java
Android
Optimization
What are the mechanics of short string optimization in libc++?
C++
String
Optimization
C++ Standard-Library
Libc++
Coding Practices which enable the compiler/optimizer to make a faster program
C++
C
Performance
Optimization
What columns generally make good indexes?
Sql Server
Database
Optimization
Database Design
Indexing
Django: Set foreign key using integer?
Django
Optimization
Django Models
Foreign Keys
Different floating point result with optimization enabled - compiler bug?
C++
Optimization
G++
C++ Faq
Why don't C++ compilers optimize this conditional boolean assignment as an unconditional assignment?
C++
Optimization
Most efficient way to make the first character of a String lower case?
Java
String
Performance
Optimization
Tools for JPEG optimization?
Optimization
Jpeg
In C++, should I bother to cache variables, or let the compiler do the optimization? (Aliasing)
C++
Performance
Caching
Optimization
Strict Aliasing
Will strlen be calculated multiple times if used in a loop condition?
C++
C
Gcc
Optimization
Strlen
Why don't two binaries of programs with only comments changed exactly match in gcc?
C
Gcc
Optimization
Binary Reproducibility
Reducing memory usage of .NET applications?
C#
.Net
Optimization
Memory
Memory Optimization
Algorithm to get the excel-like column name of a number
Php
Algorithm
Optimization
What is the fastest integer division supporting division by zero no matter what the result is?
C++
C
Optimization
Divide by-Zero
Print All JVM Flags
Java
Optimization
Printing
Jvm
Flags
Java HashMap performance optimization / alternative
Java
Performance
Optimization
Map
Hashmap
Is it possible to simplify (x == 0 || x == 1) into a single operation?
C#
Algorithm
Optimization
Arithmetic Expressions
Why does my application spend 24% of its life doing a null check?
C#
Performance
Optimization
Il
Micro Optimization
What is PAGEIOLATCH_SH wait type in SQL Server?
Sql Server
Tsql
Optimization
Is there a performance difference between i++ and ++i in C?
C
Performance
Optimization
Post Increment
Pre Increment
Flatten an irregular list of lists
Python
List
Optimization
Nested Lists
Flatten
Are eval() and new Function() the same thing?
Javascript
Function
Optimization
Eval
std::map insert or std::map find?
C++
Optimization
Stl
Stdmap
When, if ever, is loop unrolling still useful?
Performance
Optimization
Language Agnostic
Micro Optimization
Loop Unrolling
Combine and Minify Multiple CSS / JS Files
Javascript
Css
Optimization
Yui Compressor
Http Compression
See and clear Postgres caches/buffers?
Postgresql
Caching
Optimization
What is the real overhead of try/catch in C#?
C#
.Net
Performance
Optimization
Try Catch
Optimum way to compare strings in JavaScript?
Javascript
String
Optimization
Comparison
Binary Search
Should import statements always be at the top of a module?
Python
Optimization
Pep8
Does adding 'LIMIT 1' to MySQL queries make them faster when you know there will only be 1 result?
Mysql
Optimization
Limit
How do you test running time of VBA code?
Optimization
Testing
Vba
Profiling
Performance
delete all from table
Sql
Mysql
Ms Access
Optimization
Performance
Switch case on type c#
C#
.Net
Optimization
Switch Statement
Does Haskell have tail-recursive optimization?
Haskell
Optimization
Lazy Evaluation
Tail Recursion
Tail Call-Optimization
What exactly is the "as-if" rule?
C++
C
Optimization
C++ Faq
As If
Why does the JVM still not support tail-call optimization?
Java
Language Agnostic
Optimization
Jvm
Tail Call-Optimization
What is the gain from declaring a method as static
Java
Optimization
Coding Style
Static
PHP Objects vs Arrays -- Performance comparison while iterating
Php
Arrays
Optimization
Object
How to optimize webpack's build time using prefetchPlugin & analyse tool?
Optimization
Webpack
How do I add indexes to MySQL tables?
Mysql
Optimization
Indexing
Row
Most efficient way to increment a Map value in Java
Java
Optimization
Collections
Why is a conditional move not vulnerable to Branch Prediction Failure?
Performance
Assembly
Optimization
Cpu Architecture
Branch Prediction
Is multiplication faster than float division?
C++
C
Performance
Optimization
GCC: how is march different from mtune?
Optimization
Gcc
Compiler Construction
Options
Flags
What are copy elision and return value optimization?
C++
Optimization
C++ Faq
Return Value-Optimization
Copy Elision
Does use of anonymous functions affect performance?
Javascript
Performance
Optimization
How can I improve performance via a high-level approach when implementing long equations in C++
C++
Performance
Optimization
Floating Point
G++
Unobtrusive JavaScript: <script> at the top or the bottom of the HTML code?
Javascript
Performance
Optimization
Coding Style
Deflate compression browser compatibility and advantages over GZIP
Optimization
Compression
Gzip
Zlib
Deflate
What are stalled-cycles-frontend and stalled-cycles-backend in 'perf stat' result?
Linux
Performance
Optimization
Computer Architecture
Cpu Architecture
When is not a good time to use python generators?
Python
Optimization
Iterator
Generator
Field vs Property. Optimisation of performance
C#
.Net
Performance
C# 4.0
Optimization
Why does this Haskell code run slower with -O?
Haskell
Optimization
Ghc
Compiler Bug
What do the terms "CPU bound" and "I/O bound" mean?
Optimization
Terminology
When is optimisation premature?
Optimization
Premature Optimization
Why GDB jumps unpredictably between lines and prints variables as "<value optimized out>"?
C
Optimization
Compiler Construction
Gdb
Compilation
Java Integer compareTo() - why use comparison vs. subtraction?
Java
Optimization
Integer
Comparison
Integer Overflow
PostgreSQL temporary tables
Performance
Postgresql
Optimization
Temp Tables
Get coefficients estimated by maximum likelihood into a stargazer table
R
Optimization
Lm
Stargazer
How to calculate percentage improvement in response time for performance testing
Optimization
Time
Fastest way to strip all non-printable characters from a Java String
Java
String
Performance
Optimization
Micro Optimization
Why are operators so much slower than method calls? (structs are slower only on older JITs)
C#
.Net
Performance
Optimization
Jit
Saturating subtract/add for unsigned bytes
C++
C
Optimization
Bit Manipulation
Saturation Arithmetic
MySql views performance
Mysql
Database
Performance
Optimization
Views
In ArrayBlockingQueue, why copy final member field into local final variable?
Java
Multithreading
Optimization
Final
Local Variables
Fastest way to put contents of Set<String> to a single String with words separated by a whitespace?
Java
String
Optimization
Set
Whitespace
foldl is tail recursive, so how come foldr runs faster than foldl?
Optimization
Haskell
Tail Recursion
Combinators
Fold
How to identify unused CSS definitions from multiple CSS files in a project
Css
Performance
Optimization
Code Cleanup
Measuring actual MySQL query time
Mysql
Optimization
Why does adding inline assembly comments cause such radical change in GCC's generated code?
C++
Gcc
Assembly
Optimization
Inline Assembly
How to use profile guided optimizations in g++?
C++
Optimization
G++
Fastest sort of fixed length 6 int array
Algorithm
Sorting
Optimization
Gpgpu
Sorting Network
Why would code actively try to prevent tail-call optimization?
C++
C
Optimization
Compiler Optimization
Tail Call-Optimization
What does "Optimize Code" option really do in Visual Studio?
Visual Studio
Optimization
Optimizing Kohana-based Websites for Speed and Scalability
Php
Optimization
Performance
Scalability
Kohana
Which is better option to use for dividing an integer number by 2?
C++
C
Optimization
Division
Micro Optimization
Speeding up Julia's poorly written R examples
R
Optimization
Julia
What is the "cost" of .NET reflection?
C#
.Net
Optimization
Reflection
Where do I find a standard Trie based map implementation in Java?
Java
Algorithm
Optimization
Trie
best way to clear contents of .NET's StringBuilder
C#
.Net
Optimization
.Net 3.5
GROUP BY having MAX date
Mysql
Sql
Optimization
Greatest N-per-Group
Tips for optimizing C#/.NET programs
C#
.Net
Optimization
Which is faster: clear collection or instantiate new
.Net
Performance
List
Optimization
Collections
Generating permutations of a set (most efficiently)
C#
Performance
Algorithm
Optimization
Permutation
> vs. >= in bubble sort causes significant performance difference
Java
C++
Performance
Optimization
How to prevent GCC from optimizing out a busy wait loop?
C
Optimization
Gcc
Avr Gcc
Why does the order of the loops affect performance when iterating over a 2D array?
C
Performance
For Loop
Optimization
Cpu Cache
How to find rows in one table that have no corresponding row in another table
Sql
Optimization
H2
Can compiler optimization introduce bugs?
Optimization
Compiler Construction
Compiler Optimization
Does the <script> tag position in HTML affects performance of the webpage?
Javascript
Html
Performance
Optimization
Creating an index on a timestamp to optimize query
Mysql
Optimization
Indexing
Timestamp
Loop with a zero execution time
C++
C
Optimization
Execution Time
As If
Is my Android App Draining Battery?
Java
Android
Optimization
Battery
Fastest way to list all primes below N
Python
Math
Optimization
Primes
String concatenation without '+' operator
Python
String
Optimization
Concatenation
String Concatenation
Is the compiler allowed to optimize out heap memory allocations?
C++
Gcc
Optimization
Clang
Language Lawyer
Fastest way to do horizontal SSE vector sum (or other reduction)
Assembly
Optimization
Floating Point
Sse
Simd
Why prefer signed over unsigned in C++?
C++
Optimization
Is it legal for a C++ optimizer to reorder calls to clock()?
C++
Optimization
Clock
Most efficient way to see if an ArrayList contains an object in Java
Java
Algorithm
Optimization
Search
Arraylist
What is Haskell's Stream Fusion
List
Optimization
Compiler Construction
Haskell
Rules for using the restrict keyword in C?
C
Optimization
Memory
Android ProGuard: Most Aggressive Optimizations
Android
Optimization
Proguard
Optimization by Java Compiler
Java
Optimization
Javac
C++: Mysteriously huge speedup from keeping one operand in a register
C++
C
Performance
Optimization
Assembly
Why does using the ternary operator to return a string generate considerably different code from returning in an equivalent if/else block?
C++
Assembly
Optimization
Clang
Compiler Optimization
Will my iPhone app take a performance hit if I use Objective-C for low level code?
C++
Iphone
Objective C
Performance
Optimization
Fastest way to determine if an integer's square root is an integer
Java
Math
Optimization
Perfect Square
How do I profile a Python script?
Python
Performance
Optimization
Time Complexity
Profiling
Using index, using temporary, using filesort - how to fix this?
Mysql
Optimization
Select
Temporary
Filesort
Is shifting bits faster than multiplying and dividing in Java? .NET?
C#
Java
.Net
Optimization
Bit Manipulation
What does the class class [B represents in Java?
Java
Optimization
Memory
Jhat
JS: Most optimized way to remove a filename from a path in a string?
Javascript
Optimization
Prefetching Examples?
Gcc
Optimization
Assembly
Prefetch
Why can't GCC optimize the logical / bitwise AND pair in "x && (x & 4242)" to "x & 4242"?
C++
Gcc
Optimization
Compiler Optimization
Fastest way to remove non-numeric characters from a VARCHAR in SQL Server
Sql
Sql Server
Performance
Optimization
How to see which plugins are making Vim slow?
Debugging
Optimization
Vim
Macvim
What optimizations can I expect from Dalvik and the Android toolchain?
Java
Android
Optimization
Dalvik
Python equivalence to inline functions or macros
Python
Optimization
Inline Functions
What's the fastest way to read from System.in in Java?
Java
Optimization
Inputstream
Stdin
Most efficient way to iterate over all DOM elements
Javascript
Jquery
Performance
Dom
Optimization
What's the best way to implement `next` and `previous` on an enum type?
Java
Optimization
Enums
Image Compression tools via command line
Optimization
Image Processing
Image Compression
Why is ''.join() faster than += in Python?
Python
Optimization
Why don't modern compilers coalesce neighboring memory accesses?
C++
Assembly
Optimization
Compiler Optimization
Is the inequality operator faster than the equality operator?
Optimization
Performance
Cpu Speed
SQLite insert speed slows as number of records increases due to an index
Database
Optimization
Sqlite
Insert
Fastest implementation of sine, cosine and square root in C++ (doesn't need to be much accurate)
C++
Math
Optimization
Trigonometry
How to get IOStream to perform better?
C++
Optimization
Iostream
C++ Faq
C++ Standard-Library
Best way to loop over a python string backwards
Python
String
Optimization
Iterator
Reverse
Read file As String
Android
String
Optimization
Is it better to avoid using the mod operator when possible?
C
Performance
Optimization
Modulo
PyTorch: How to change the learning rate of an optimizer at any given moment (no LR schedule)
Python
Optimization
Neural Network
Deep Learning
Pytorch
What is better: multiple "if" statements or one "if" with multiple conditions?
Java
Optimization
If Statement
Multiple Conditions
A weighted version of random.choice
Python
Optimization
Deoptimizing a program for the pipeline in Intel Sandybridge-family CPUs
C++
Optimization
X86
Intel
Cpu Architecture
How to stop C# from replacing const variable with their values?
C#
Optimization
MySQL not using indexes with WHERE IN clause?
Sql
Mysql
Ruby on-Rails
Database
Optimization
What to do with Java BigDecimal performance?
Java
Optimization
Currency
Math
Bigdecimal
C++ cache aware programming
C++
Optimization
Caching
Cpu Cache
iPhone - dequeueReusableCellWithIdentifier usage
Iphone
Objective C
Optimization
Uitableview
Why is iterating through an array backwards faster than forwards
Javascript
Performance
Optimization
What is the difference between Seq Scan and Bitmap heap scan in postgres?
Optimization
Postgresql
Query Optimization
Sql Execution-Plan
Math optimization in C#
C#
Optimization
Neural Network
Performance
Integers caching in Java
Java
Optimization
Jvm
Optimizations for pow() with const non-integer exponent?
C++
Math
Optimization
Avx
Exponent
Disabling g++'s return-value optimisation
C++
Optimization
Compiler Construction
G++
Return Value-Optimization
What is the fastest way to flatten arbitrarily nested lists in Python?
Python
Algorithm
Optimization
Very slow Eclipse 4.2, how to make it more responsive?
Eclipse
Performance
Optimization
Eclipse Juno
How to remove duplicates based on a key in Mongodb?
Mongodb
Optimization
Duplicates
Key
How to efficiently remove duplicates from an array without using Set
Java
Arrays
Optimization
What do the "Not optimized" warnings in the Chrome Profiler mean?
Javascript
Google Chrome
Optimization
Google Chrome-Devtools
Developer Tools
Why do C++ optimizers have problems with these temporary variables or rather why `v[]` should be avoided in tight loops?
C++
Performance
Optimization
Why to use StringBuffer in Java instead of the string concatenation operator
Java
Optimization
String Concatenation
Optimising Python dictionary access code
Python
Optimization
Dictionary
Sparse Matrix
Efficiently compute Intersection of two Sets in Java?
Java
Performance
Optimization
Set
How do I organize members in a struct to waste the least space on alignment?
C++
Optimization
Memory Alignment
Memory Layout
Struct Member-Alignment
Why do many sites minify CSS and JavaScript but not HTML?
Javascript
Html
Css
Optimization
Minify
What are the major performance hitters in AS3 aside from rendering vectors?
Performance
Actionscript 3
Flash
Optimization
Branchless K-means (or other optimizations)
C++
Performance
Optimization
Most efficient way to concatenate strings?
C#
.Net
String
Optimization
Does C# optimize the concatenation of string literals?
C#
.Net
Performance
Optimization
File I/O with streams - best memory buffer size
C#
Optimization
File
Size
Buffer
Is std::vector memory freed upon a clear?
C++
Optimization
Memory
Vector
Fastest way to remove duplicate documents in mongodb
Mongodb
Performance
Optimization
Duplicates