Skip to content

memoize existsSync calls on the fastboot instance itself#666

Merged
stefanpenner merged 1 commit intomasterfrom
cache-exists
Mar 3, 2019
Merged

memoize existsSync calls on the fastboot instance itself#666
stefanpenner merged 1 commit intomasterfrom
cache-exists

Conversation

@stefanpenner
Copy link
Contributor

In large applications with many nested addons and engines, this can do
excessive work.

Luckily it is perfectly consistent for us to cache this on the addon
instance state. In-fact it is incoherent for this to change from the
perspective of one fastboot addon instance

In large applications with many nested addons and engines, this can do
excessive work.

Luckily it is perfectly consistent for us to cache this on the addon
instance state. In-fact it is incoherent for this to change from the
perspective of one fastboot addon instance
@stefanpenner stefanpenner merged commit 43ffc65 into master Mar 3, 2019
@stefanpenner stefanpenner deleted the cache-exists branch March 3, 2019 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants