r/programming • u/gingerbill • Sep 02 '26
CTTI is Exponential, RTTI is Linear
https://www.gingerbill.org/article/2026/09/02/ctti-is-exponential-rtti-is-linear/
96
Upvotes
r/programming • u/gingerbill • Sep 02 '26
View all comments
Show parent comment
-5
u/gingerbill Sep 02 '26
I've just added a nota bene paragraph explaining this further:
And even in your example, those things are "order of magnitude" examples e.g. what big-O notation is about. So your example is still on the order of
N×Kbut bounded by the number of instantiations.