Try switch statement in place of vector

Try switch statement in place of vector

The /Qipo option may help as this phase has arguments in register optimization. The Intel compiler has implemented light IPO at /O2 but /Qipo does better job.

I did get why you are using vector for function calling. The proper branch prediction is crucial for application performance. Did you try switch statement instead vector? The profile guided optimization may help if the branching is being done using switch statement.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.