How is better and faster?
-
I noticed that are lots of small plugins that do all sort of stuff, but thinking on matter of what they do, many of them could be grouped.
Let's say Cline Tool and Point ... I repeat: it's just an example.
My question is this: how could be more faster for SketchUp to start? To have both plugins in Plugins folder and loaded separately, or to have a single plugin that consists in two tools, and therefore a single loader file in Plugins folder?
Or there is no difference? As ruby is a interpreted software, I think all ruby files are parsed before loading. Or just the loader is parsed (and the require statements in that file) ? -
My guess is that it would take the same amount of time, if the code was just put into a single file.
But if they had overlapping similar methods and each one was writing that method out, and that could be condnsed into a shared method or common library, than that could save load time. If more code was condensed into a single library so it did not have to be re-written for each plugin.
I'm curious though, how long does your sketchup take to load? I've got lots of plugins installed, and they do not take very long to load - as in I dpn't notice a difference with them or without them. But previously I DID run into seriously loading times in version 7.0 and 7.1, and I think it had to do with having the material browser opened to the color tab by default when SU turned on. Something liike that.
-
Not better, not faster.
Authors lose revision control of their plugins.
Users lose control of what plugins are loaded and what are not.
-
@chris fullmer said:
But previously I DID run into seriously loading times in version 7.0 and 7.1, and I think it had to do with having the material browser opened to the color tab by default when SU turned on. Something liike that.
I see that. And the component browser can be a culprit as well. I try to ensure I don't leave a large collection open, as it can take a noticeable time to load some of them.
-
I usually keep the toolwindows "in my stack" rolled up, with the EntityInfo open, on the bottom of the stack. (Because it varys in height depending on what is selected, when it's at the top, the whole stack jiggles up and down in a most annoying way.)
Anyway.. I only unroll a toolwindow when I'm actually using it.
Advertisement