There are tons of unnecessary runtime allocations spread out throughout the codebase - remove/optimize them.