The Build tab of the Project Properties in Visual Studio 2005/2008 contains the "Optimize code".
The documentation states that it "... enables or disables optimizations performed by the compiler to make your output file smaller, faster, and more efficient."
My question is why should I NOT have it on?
Why is it not on by default?
W...
I was given this WPF application, when I tried to run the program in Debug mode it would crash before getting to Windows1.xml. I later tried running in Release Mode and it would run successfully. I narrowed it down to that, I needed to turn on "Optimize Code" for it to work.
Note: Breakpoints, stepping into from debug, and stopping on t...
I have a way that converts ulongs to bytes using binary shifts in a for statement but it's not very time efficient. Is there a way to cast a ulong array of size 64 directly into a byte array of size 512? This is a section of code that runs thousands of times and I need to shave every millisecond so I can in turn save seconds.
Edit:
Righ...
I have two very large enterprise tables in an Oracle 10g database. One table keeps the historical information of the other table. The problem is, I'm getting to the point where the records are just too many that my insert update is taking too long and my session is getting killed by the governor.
Here's a pseudocode of my update process...
Hey everyone!
i've been doing some profiling on an app i'm working on and qTip is really slowing it down! I love this plugin but adding the tips on document ready is taking almost 2 whole seconds (about 300 tips on the page). I know it's a lot of tips, but is there anyway obvious or not so obvious ways to speed this up?
i'm using th...
Hello,
I am working on an algorithm that performs a global thresholding of an 8-bit grayscale image into a 1-bit ( bit packed, such that 1 byte contains 8 pixels ) monochrome image. Each pixel in the Grayscale image can have a luminance value of 0 - 255.
My environment is Win32 in Microsoft Visual Studio C++.
I am interested in optim...