Posted Dec 14, 2004 21:06 UTC (Tue) by iabervon
In reply to: Open-code?
Parent article: Quote of the week
Write out the full code that the convenient syntax would stand for, so that you can apply some optimizations based on information the compiler wouldn't have. So rather than having a C++ virtual method or using a function pointer, you'd actually write out tests and calls for all of the functions it could be, because the time to call a function pointer would be significant.
to post comments)