Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Pepe1vo
4 months ago
|
parent
|
context
|
favorite
| on:
Speeding up Electron apps by using V8 snapshots in...
Is there an advantage to doing this versus using something like ncc to just package everything into a single js file with zero dependencies?
diggan
4 months ago
|
next
[–]
Let's say you're initializing a huge array on boot that takes 100ms. Packaging everything into a single .js file won't change that. Taking a snapshot of the state after boot and using that for subsequent boots will allow you to skip that.
hardwaresofton
4 months ago
|
prev
[–]
Surprised that vercel/ncc is still supported but vercel/pkg is not... Wonder why that is.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: