3 ms·
Because: 1) const is not supported by an optimized compiler and any function that declares or references const variable will not be optimized; 2) const is slow
by mraleph 15y ago
Because:
1) const is not supported by an optimized compiler and any function that declares or references const variable will not be optimized;
2) const is slower than var because it has a more complicated semantics;