TodePond / Arroost

arrows in arrows in arrows
https://arroost.com
MIT License
100 stars 8 forks source link

Wire loops are slow #158

Open TodePond opened 11 months ago

TodePond commented 11 months ago

When working on bigger simulations, a long wire loop can cause stuttering because of trying to figure out if it's a loop in getpeak

Ideas:

TodePond commented 11 months ago

Maybe partly improved by #167 ?

TodePond commented 10 months ago

Definitely improved, but I've seen it being slow when adding wires to a 'semi-pulsing loop'.

Or one of the previously mentioned solutions

TodePond commented 10 months ago

Rewrote the Nogan cloning function - should be a bit faster, but doesn't solve the base problem

I think I'm gonna have to rewrite getPeak as imperative. Big task, so downgrading this to stretch goal