Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cache family when calling libc() #121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Oct 28, 2024

  1. fix: cache family when calling libc()

    We can assume that the same process will return the same report and thus we can cache the resulting family in memory to make it faster for subsequent invocations.
    
    https://github.com/npm/cli/blob/780afc50e3a345feb1871a28e33fa48235bc3bd5/workspaces/arborist/lib/arborist/build-ideal-tree.js#L212
    styfle authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    61b57d5 View commit details
    Browse the repository at this point in the history