One thing I have noticed about this.
I customized the Great Grundorf map and used this script for the .hof file for the map. What I noticed is that the script drops the frame rate dramatically. I register 30 FPS. But when the sign changes, the rate drops to as low as 8-9 FPS. Conditions: Small to medium map with 8 day lines (I added one), 1 morning express route (I added this), and 1 night route; 17 buses models, all using this code (probably what the problem is).
This might be a problem when we start doing NYC add-ons for OMSI. Is there a way this code could be more efficient, or should I just get a new computer?