the purpose of this PR is to hopefully alleviate allocation churn in most cases. notably, this PR does not solve the sort of worrying growth of seamstress's resident size in htop when hello_triangle is run, which leads me to think that SDL is to blame here.
i'm going to leave this as a PR for a day or two, since it has the possibility to increase crashes, and i'd like to catch those myself if possible.
the purpose of this PR is to hopefully alleviate allocation churn in most cases. notably, this PR does not solve the sort of worrying growth of seamstress's resident size in
htop
whenhello_triangle
is run, which leads me to think that SDL is to blame here.i'm going to leave this as a PR for a day or two, since it has the possibility to increase crashes, and i'd like to catch those myself if possible.