Flickering Hops issue

My Hops component is experiencing severe performance issues in Grasshopper. It’s designed to generate a large volume of data outputs, but it’s causing the entire Grasshopper environment to lag constantly. The issue persists even when the component’s trigger button is off, and its output panel flickers at an extremely high rate. I’ve tried to manage this behavior using a state-based logic with a LAST_RUN_STATE variable in VS Code to ensure it only runs when the button is pressed, but it appears the component’s state isn’t being preserved between Grasshopper’s frequent re-computations. My concern is that my current approach to managing state is fundamentally incorrect for the Hops-Grasshopper interaction model. How can I solve this? Any ideas?

Basically this flickering thing happens. Any idea why? I would really appreciate it if anyone can help.:folded_hands: (Ignore the error message that is not an issue)