Closed Fdawgs closed 10 months ago
Import functions all in one go rather than successive require() calls. Probably the tiniest perf improvement but cba to bench for a quectosecond improvement.
require()
Saves a few bytes regardless.
npm run test
npm run benchmark
Import functions all in one go rather than successive
require()
calls. Probably the tiniest perf improvement but cba to bench for a quectosecond improvement.Saves a few bytes regardless.
Checklist
npm run test
andnpm run benchmark