jpaulm / drawfbp

Tool for Creating and Exploring Flow-Based Programming Diagram Hierarchies
http://www.jpaulmorrison.com/fbp/
145 stars 20 forks source link

Generated code window slow! #64

Closed jpaulm closed 3 years ago

jpaulm commented 3 years ago

The window with the generated code is very slow. It's sometimes hard to select a larger portion of the define functions content because the mouse pointer is moving slowly etc. It feels like the whole rendering of a bit of colored text in this text view is already too much. But maybe it's really because you are hooking into the render/display loop and then this affects everything. Could that be? (edited)

jpaulm commented 3 years ago

"But maybe it's really because you are hooking into the render/display loop and then this affects everything. Could that be? " Can you clarify?

jpaulm commented 3 years ago

Have moved some CPU-heavy code out of draw function for blocks - seems to be better!

Will do something similar for arrows

jpaulm commented 3 years ago

Change made in v3.0.4... awaiting feedback!

jpaulm commented 3 years ago

Seems OK - I'm assuming it is now fixed! Feel free to reopen!