Optimized array push() used in many files