George,
?
After remaining as a silent observer on this thread, at least one observation seems worth floating.
?
"But I wonder, how does it compare in performance to performing the same tasks in a Jython program? Is there any overhead?"
?
In fact there is some overhead in all of the options that JMRI offers for customizing any installation to a particular layout.? In most cases, that overhead is slight, perhaps even undetectable.
?
Chasing through all of the "time used" vs "dynamic memory used" vs "storage memory used" vs "I/O bandwidth needed" vs "operational connivence" or any of the other kinds of optimization metrics is not likely to provide us with any warm-fuzzy feelings.? Nor is it even slightly useful with today's technology.??
?
What is important boils down to only a few questions:
- Is the method used easily accessible to the person doing the modification?
- Will it be understandable to someone needing to do future maintenance, as in a club environment??
- Is the result easily understandable to the people running the layout?
?
It is your hobby, do what you enjoy.
?
Others may have strongly held preferences.
?
Cliff in Baja SoCal
?