About 9,780,000 results
Open links in new tab
  1. c# - What is code optimization? - Stack Overflow

    Nov 2, 2010 · When said this code need some optimization, or can be some how optimized, what does that mean? which kind of code need optimization? How to apply optimization to the code …

  2. How can I prevent GCC optimizing some statements in C?

    Nov 24, 2023 · I would like to add that in the past, even using -O0 did not prevent dead code "optimization", e.g., when GCC detects some code has no effect, it simply removes it.

  3. c++ - is there any way to disable compiler optimisation for a …

    Jan 17, 2011 · Often a line of code is optimised taking in to account lots of other lines of code - so turning off optimisation for one line doesn't seem to make much sense. Is it allowed to use …

  4. Issue with Code Optimization in STM32CubeIDE for STM32

    Dec 6, 2023 · I have written code for my STM32 that manages the settings of an external circuit via SPI. When I use the Og optimization setting in STM32CubeIDE (which uses GCC), …

  5. List of common C++ Optimization Techniques - Stack Overflow

    Can I have a great list of common C++ optimization practices? What I mean by optimization is that you have to modify the source code to be able to run a program faster, not changing the compiler

  6. How does one write code that best utilizes the CPU cache to …

    Apr 18, 2009 · 4 To ask how to make a code, cache effective-cache friendly and most of the other questions , is usually to ask how to Optimize a program, that's because the cache has such a …

  7. optimization - Speeding Up Python - Stack Overflow

    Oct 6, 2008 · Firstly: Given an established python project, what are some decent ways to speed it up beyond just plain in-code optimization? Secondly: When writing a program from scratch in …

  8. How can I disable compiler optimization in C#? - Stack Overflow

    Apr 12, 2016 · How can I disable compiler optimization in C#?specifically use [MethodImpl (MethodImplOptions.NoOptimization)] on methods that you want to skip optimization for. Use …

  9. Disable compiler optimisation for a specific function or block of …

    Feb 9, 2017 · The compiler does a great job of optimising for RELEASE builds, but occasionally it can be useful to ensure that optimisation is turned off for a local function (but not the entire …

  10. What are some refactoring methods to reduce size of compiled …

    Turning on compiler optimization does the trick, but the customer is wary of doing so because they have caused failures in the past. So, what are some common things to look for when …