Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Improve environment variable handling performance