My dear developers I am wondering if you can tell me the consequence of defining the same macro/procedure function many times?
I have a small macro tool I would like to include with many of my packages, basically it involves a macro to support changing config settings. The thing is I would like this available if I install just one of my packages or many, so it will be in a global definition and be defined as many times as packages that include this.
Will it hurt the performance, or load time if the same macros is defined many times?, I know the last will win and I am happy with that.
- Of course this is a candidate for including in the core as when code is common it make sense it belongs in the core but that may take more time.
I would prefer not to complicate matters by demanding a separate install or dealing with and overwite prompt in the import process.
What do you think?
Is there an alternative approach?
Should I present it here for core inclusion?
Note on this occasion it needs its own tiddler and a $:/tags/ViewTemplate tag.