2 ms·
It’s not as clear how macros affect performance. You can write macros that are very declarative but generate very hairy code that you wouldn’t necessarily writ
by dgb23 4y ago
It’s not as clear how macros affect performance.
You can write macros that are very declarative but generate very hairy code that you wouldn’t necessarily write by hand. The result might be much more machine optimized.
Sure, you pay some upfront cost for expansion, but generally speaking macros don’t hinder you to write fast code, they just give you more options and trade offs.