DEV Community

Discussion on: In-depth of tnpm rapid mode - how we managed to be 10 second faster than pnpm

Collapse
 
killagu profile image
killa

We are inspired by stargz introduced by crfs. It append the tar toc to the tail to make tar random access.

In our practice, we download the tgz file with stream, uncompress to tar, and read the tar entries to generate toc file.

  • Store the package tar file, gzip is too expensive.
  • Toc file store independently for the random access.