Implement a lint mode to detect unnecessary allocations
Remove all unnecessary allocations (as flagged by lint)