2 ms·
(fitting user name, sir or madam!) I'm guessing he's referring to declaring a global structure or collection of function pointers, and then using #ifdef's and
by angersock 13y ago
(fitting user name, sir or madam!)
I'm guessing he's referring to declaring a global structure or collection of function pointers, and then using #ifdef's and compiler flags to actually assign those function pointers to things that make optimal sense for the architecture.
Or, at runtime (but hopefully before usage!) setting those global function pointers to point at routines optimal for the situation the program is running under--say, setting them to point at an optimized SSE3 vector routine if the CPU supports it.
Maybe that's it?