Posts tagged with optimization
How much overhead does C++ bring compared to straight C?
Dennis - August 9th, 2008
Published in Programming
The other day, I had a conversation about putting C code onto an embedded chip. I wondered if it was possible to put C++ code on there. The gist of the conversation was that the C++ libraries had a lot of overhead and the executable size would be too large for the space [...]
1 Comment
3 Optimizations for speeding Visual C++ compiled code.
Dennis - August 6th, 2008
Published in Programming
For fun, I participated in a programming contest. Instead of describing the process this time, I thought I’d include a function. Can you guess what it does? I’m changing some of the variable names so it isn’t obvious.
unsigned short result [dim][dim];
void foo(const string& info1, const string& info2, string& ret_val) {
for (int [...]