Add comment re nvm_ensure_version_installed performance

This commit is contained in:
Jo Liss committed 2015-04-02 15:30:33 +00:00
1 parent 609d9ee4ea
commit fc86834e29
1 file changed
+2
+2
View File
@@ -1347,6 +1347,8 @@ nvm() {
return 8
fi
# This nvm_ensure_version_installed call can be a performance bottleneck
# on shell startup. Perhaps we can optimize it away or make it faster.
nvm_ensure_version_installed "$PROVIDED_VERSION"
EXIT_CODE=$?
if [ "$EXIT_CODE" != "0" ]; then