Compiling extensions

A project that I’m working on takes a really long time to load. It uses a lot of cloning of COMPs with extension classes. In the startup errors/messages, I see a ton of entries (4224) like these:

There are other things that could be contributing to the slowness, but the cloning/extensions thing seems like it might be relevant.
Are there performance issues related to having lots of clones of COMPs with extension classes? Should I avoid them for components that are heavily used?

We’ve had mixed results with cloning and classes… especially if the class is located inside of the clone. Where’s your class in relation to your clone? Have you tried placing it at a different location in the network?

I don’t remember if this helped or not, but might be worth giving this approach a shot:
cloingClasses.toe (4.03 KB)

I’ve been keeping the DATs with the classes outside of the COMPs that get cloned.
Example:

//components/float_param_ext is a Text DAT containing class FloatParam
/
/components/float_param is a COMP with extension mod('//components/float_param_ext’).FloatParam(me)
/
/layer1/edge1/level_param is a COMP that’s a clone of /_/components/float_param

How many clones are we talking about?
Are you using a replicator to make all of your clones?

There are around ~250 instances of one of the components (float_param). They’re scattered throughout various “module” COMPs, many of which are clones of other modules.
The system is sort of like Resolume, where a “module” is equivalent to an effect in Resolume. The component in question (float_param) is equivalent to a slider control in an effect in Resolume. (see the attached image)