tomara-x / quartz

visual programming and dsp playground
https://codeberg.org/tomara-x/quartz
Apache License 2.0
36 stars 2 forks source link

limit printing #168

Closed tomara-x closed 1 month ago

tomara-x commented 1 month ago

don't render ridiculous amounts of samples (like millions)! it's all in your ram! and quartz will freeze if you try to inspect the array xD (because it's trying to generate a text this huge and put it on screen)

Originally posted by @tomara-x in https://github.com/tomara-x/quartz/discussions/167#discussioncomment-9527595

maybe the inspect commands can check if the final text is larger than a certain threshold and trim?