Loading zsh slows down after loading multiple times during development

I’m working on a custom command for getting only the information I want about packages from Pacman. I’m rewriting this to just use awk. I get that I can move everything into an awk script, and avoid the whole issue. (which I’ve done) I’m more curious if there’s any way to stop zsh startup from slowing down, after multiple loads.