Tag Archive for 'stl'

3 Optimizations for speeding Visual C++ compiled code.

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 x=0;x<dim;++x) { […]