|
Is there other technique like RVO (return value optimization) or NRVO (named return value optimization) that can be use with VC2008?
Started by yesraaj on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
But typically it's the compiler who does such kind of optimization.
Maybe this may help you.
|
|
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 in c#? What the benefits from that?
Started by Abdullah BaMusa on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Although "optimization" has the same root as "optimal", the process of optimization does....
In general it implies modifying the system to make some of its aspect responsive in terms of UI .
Optimization is a very broad term.
|
|
What are the good (free) optimization programmers, .Net programmers need to have to optimize their programs?
Started by CommuSoft on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I work in .Net, and the only profiler I've ever needed is the debugger itself... .
It'll help you identify sections of your code that take a while to execute, which you can then spend some time optimizing.
A good profiler, such as EQATEC Profiler.
|
Ask your Facebook Friends
|
Does Scala support tail recursion optimization?
Started by Roman Kagan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Tail-call optimization for self-recursion (a function calling itself) of final methods and local.
|
|
Hi
If you were constructing a compiler, what optimization at the AST level would be the nicest to have?
Started by Flavius on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
While data flow is implicit in the meaning of the AST, it isn't easily determined by inspecting... .
Mostly you can't do interesting optimizations at the AST level, because you need information how how data flows from one part of the program to another.
|
|
What is the difference between different optimization levels in GCC? Assuming I don't care to have any debug hooks, why wouldn't I just use the highest level of optimization available to me? does a higher level of optimization necessarily (i.e. provably...
Started by rmukhopadhyay on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Generally optimization levels higher than -O2 (just -O3 for gcc but other compilers have higher vectorization and inter-procedural optimization at levels higher than -O3, as well as certain about the different optimization levels.....
|
|
Hello,
I am new to sql query optimization and i would like to know if there is anyone can suggest a profiling and optimization tool that i can use.
I am trying to optimize queries running on mysql.
Thanks for any help.
Started by andreas on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You should especially be interested in the columns describing what keys are used, as ... .
This will allow you to see a detailed execution plan for the query .
Well, the first thing one should do is have MySQL describe your queries through the DESC command .
|
|
I'm developing a performance critical application for Intel Atom processor.
What are the best gcc optimization flags for this CPU?
Answer Snippets (Read the full thread at stackoverflow):
I don't know if GCC has any Atom-specific optimization=pentium -mfpmath=sse -O....
It works a stable set of commandline flags emerges.
That tries to optimize GCC optimization flags for a specific piece of code via natural selection.
|
|
Please post examples of optimization done in VB/VBA/VB.net? Optimization can be in the context of performance or space/maintainability.
Edit: Please specify somewhere in your post which environment you know your technique works in. Thanks.
Started by Lance Roberts on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
' ....
It was based on the fact the the thirty comboboxes on the page had similiar names, with similiar data, and I could exploit that to fill them .
Here's some code I wrote in Excel/VBA to replace a page and half of buggy, ugly initialization statements .
|
|
Following along from this question: how-do-i-check-if-gcc-is-performing-tail-recursion-optimization , I noticed that using gcc with -fPIC seems to destroy this optimization. I am creating a shared library, but I doesn't seem to need the -fPIC option.
...
Answer Snippets (Read the full thread at stackoverflow):
Is this:
In position-dependent code, the tail-recursion optimization is essentially to reuse the current and perhaps gcc developers did not get around to implementing tail-call optimization in the latter mode will surely impact optimization....
|