robbielyman / seamstress

seamstress is an art engine
GNU General Public License v3.0
129 stars 12 forks source link

feat: move small allocations to `FixedBufferAllocator`s #86

Closed robbielyman closed 1 year ago

robbielyman commented 1 year ago

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.