robbielyman / seamstress

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

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

Closed robbielyman closed 11 months ago

robbielyman commented 11 months 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.