Optimize Allocator functions to create less duplicate code for similar types (#16332)

* Move functionality from generic functions that doesn't depend on the type into a function that only depends on comptime alignment.

This reduces comptime code duplication because e.g. `alloc(u32, )` and `alloc(i32, )` now use the same function `allocWithFoo(4, 4, )` under the hood.
49ac816e36IntegratedQuantum committed on 7/6/2023, 6:41:49 PM· committed by GitHubparent91daf1c
1 file changedLine totals unavailable