electron / universal

Create Universal macOS applications from two x64 and arm64 Electron applications
MIT License
112 stars 43 forks source link

perf: run hashing and lipo in parallel #61

Open radex opened 1 year ago

radex commented 1 year ago

lipo-ing one binary does not depend on the output of previous lipo, so we can safely run it in parallel. Nothing fancy is required for that, just moving from awaiting sequentially to awaiting an array of promises. This gives an awesome speedup.