Max Howell
Max Howell
that is correct
It seems to download prebuilt binaries of a bunch of stuff it needs. To be in tea it would need to use our packages instead.
add `curl.se/ca-certs` to `dependencies`?
We can make it relocatable. It just requires work.
@dosubot is probs right. The cache takes time to build, though for me it is only a few seconds or I wouldn't be about to publish v1.2 that contains it…...
Note that sync is slower but running executables has way, way less overhead. I did the testing months ago but it was 50x or something
yeah this is not ok for sure. The code I wrote is not optimized, but I also don’t know where the slowness is specficially: https://github.com/pkgxdev/libpkgx/blob/main/src/hooks/useSyncCache.ts * Potentially the ffi interface...
I did intend to bundle the pre-cached DB with the pantry.tgz that pkgx downloads, but we should aim to make the cache-step fast as first as reasonably possible anyway. sqlite...
just realized that the installation of the sqlite pkg will add seconds for sure. That is step one in caching. It's only 3MB tho.
A new `pkgx` release coming soon.