I just noticed in one of my plugins that loading a single small skp file (to use as a component definition) seems to take almost 1 second whereas the same code in SU 2014 loads the skp instantly.
t = Time.now f = "c:/box.skp" d = Sketchup.active_model.definitions.load f puts (Time.now - t)
edit: added some test code.
- Create a simple box in R2014 and save as a skp file (in the code above, in the root of C).
- ReStart Sketchup2014 (to prevent 'recursive errors')
- run the above code in a ruby editor - 0.3 seconds
- Start Sketchup 2015, run the above code - 0.84 seconds
It's half a second difference but it gets annoying fast if a user has to pick & load multiple components (and don't want to pre-load all of them). It breaks the snappy flow of the plugin.
Question: any way to avoid this. Looked in the changelog / bugfixes for 2015 but can't find anything related.