I recently captured preprocessor output for a file and the amount of code being expanded--and subsequently compiled--for canspotmon() was quite an eye opener. This converts most of the macros it uses into function calls. The resulting executable generated for OSX (built for x86_64 and containing four interfaces) is about 5.5% smaller! and there wasn't any difference in speed that I could notice. The knowninvisible() macro has been in error for as far back as the git logs go (which include those for the second cvs repository, so over 20 years now).
43 KiB
43 KiB