Ahhh, ok that makes sense. Thanks for the insight.Brian wrote: ↑November 19th, 2019, 12:33 am For me, it comes down to a cost/benefit issue. The only real "easier" part about this type of "pass through function" is the actual physical typing of it. Sure it may be called more than once, but in all likelihood, it won't be called in many places.
There is also a very small timing issue where if the bang is in the middle of executing, and the other skin is unloaded, it could cause a problem. It's better to just let the main Rainmeter thread handle it.
As the size of our project grows, it's important to keep the compile time down, and limit any extra memory wasted on function stacks. In this particular case, it wouldn't be an issue...but if we did this in lots of other areas with the size of our codebase, it could slow things down quite a bit.
-Brian
It is currently April 19th, 2024, 2:47 pm
[!EditSkin config] opening the editor for the currently open variant of the skin if a file isn't provided
-
- Posts: 134
- Joined: June 30th, 2014, 8:44 am