RUBY: Droplist selector uses massive CPU when copied
Posted: Fri Jul 27, 2018 10:06 am
I know I’m probably going to end up being embarrassed by this, but I wonder if my Ruby friends could put me right on this and explain what I did wrong. Be gentle with me
The Ruby-based droplist selector, in the attached schematic, uses a massive amount of CPU when copied up to 3 times, but more copies don’t increase the CPU further.
So far I’ve been unable to figure out what part of the RubyEdit is causing the issue, but if I turn it off the CPU drops to zero. Deleting various sections of code doesn’t seem to help.
The details are inside the module, so if anyone can reproduce this and make me feel stupid I would be really grateful!
Cheers
Spogg
The Ruby-based droplist selector, in the attached schematic, uses a massive amount of CPU when copied up to 3 times, but more copies don’t increase the CPU further.
So far I’ve been unable to figure out what part of the RubyEdit is causing the issue, but if I turn it off the CPU drops to zero. Deleting various sections of code doesn’t seem to help.
The details are inside the module, so if anyone can reproduce this and make me feel stupid I would be really grateful!
Cheers
Spogg