Search code examples
Which gcc optimization flags should I use?...


cgccoptimizationcompiler-optimizationc99

Read More
Benefit of inifinite loops without side effects in C++ being undefined behavior compared to C?...


c++cinfinite-loopcompiler-optimizationundefined-behavior

Read More
Difference Between Release Mode vs Release + O2 Mode in MSVC c++...


c++visual-studiooptimizationcompiler-optimization

Read More
Can compilers optimize calculations within for-loops that don't depend on the for-loop variable?...


language-agnosticcompiler-optimization

Read More
Improve g++ compiler flags for debug and release...


c++compiler-optimizationdebug-symbolscompiler-flagslinker-flags

Read More
Why does Rust not reorder fields in an enum for memory layout?...


rustenumslanguage-lawyercompiler-optimizationmemory-layout

Read More
What is the cost of calling a function which takes a reference with a dereferenced pointer?...


c++referencecompiler-optimizationabi

Read More
How do I see the time it took to run my program in Visual Studio Code?...


pythonvisual-studio-codecompiler-optimization

Read More
Will a Comparator.comparing… in a `compareTo` method be optimized by the compiler in modern Java?...


javacompiler-optimization

Read More
Usage of __attribute__((aligned(4), packed)) with structures in C...


cstructattributescompiler-optimization

Read More
How do C/C++ compilers work?...


c++ccompiler-constructioncompiler-optimization

Read More
If a project has no includes, but uses only C++20 modules, will the compiler see every function body...


c++c++20compiler-optimizationc++-modules

Read More
Why do some x64 compilers not inline fmin/fminf?...


cgcccompiler-optimizationminicx

Read More
How can I check if a code block is optimized away, without looking at the compiled code?...


c++compiler-optimization

Read More
Doe we have any algorithm to optimise a Boolean expression...


algorithmcompiler-optimizationcompiler-construction

Read More
Are .Net Profile Guided Optimizations persisted between runs and how dynamic are they?...


.net.net-coreoptimizationruntimecompiler-optimization

Read More
What is the scope of TieredPGO (.Net Profile Guided Optimization) in a csproj file...


.net.net-coreoptimizationruntimecompiler-optimization

Read More
How does Google's `DoNotOptimize()` function enforce statement ordering...


benchmarkingcompiler-optimizationinline-assemblygoogle-benchmarkinstruction-reordering

Read More
Seeking Cython Optimization for Conditional Branching: Is There an Equivalent to switch?...


pythoncswitch-statementcythoncompiler-optimization

Read More
Compiler Optimizations...


coptimizationcompiler-optimization

Read More
Tell Optimizer (O2) two Pointers are the 'same' (LLVM Linux Armv7)...


c++compiler-optimizationclang++

Read More
Is f(int const) better than f(int) for compiler optimization?...


c++performanceoptimizationconstantscompiler-optimization

Read More
How to encourage devirtualisation of an unused abstract base class?...


c++polymorphismabstract-classcompiler-optimizationdevirtualization

Read More
Is gcc's -march=native a convenience option? Is there magic you can't get manually?...


gcccompilationcross-compilingcompiler-optimizationcompiler-options

Read More
Can Rust compiler aggressively reorder statements like C++ compilers?...


c++rustcompiler-optimization

Read More
For what purpose does GCC create separate bitmasks applied to shifted items?...


cassemblygcccompiler-optimizationconstantfolding

Read More
What makes numpy.sum faster than an optimized (auto-vectorized) C loop?...


cnumpyfloating-pointcompiler-optimizationavx

Read More
Why does my recursive (non tail) implementation of quick-sort NOT cause a stack overflow? Using Comm...


recursioncommon-lispstack-overflowcompiler-optimizationsbcl

Read More
What kind of optimization does const offer in C/C++?...


c++cconstantscompiler-optimizationconst-correctness

Read More
what stops GCC __restrict__ qualifier from working...


cgcccompiler-optimizationrestrict-qualifier

Read More
BackNext