-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Config currently reads file for each read #637
Copy link
Copy link
Closed
Labels
polishthis problem makes nu feel unpolishedthis problem makes nu feel unpolishedstatus:needs-designthis feature requires designthis feature requires design
Description
The current version of config does not cache the contents of the config file after its been updated, so we're reading from disk for each time we retrieve a config setting.
Ideally, we could keep a live cache of what the current settings are, treat the config file as something only nu maintains, and then we could just read from the cache.
cc @wycats
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
polishthis problem makes nu feel unpolishedthis problem makes nu feel unpolishedstatus:needs-designthis feature requires designthis feature requires design