vue3-core/packages/reactivity/src
Evan You 87f69fd0bb perf(reactivity): improve reactive effect memory usage (#4001)
Based on #2345 , but with smaller API change

- Use class implementation for `ReactiveEffect`
- Switch internal creation of effects to use the class constructor
- Avoid options object allocation
- Avoid creating bound effect runner function (used in schedulers) when not necessary.
- Consumes ~17% less memory compared to last commit
- Introduces a very minor breaking change: the `scheduler` option passed to `effect` no longer receives the runner function.
2021-07-16 14:30:49 -04:00
..
baseHandlers.ts fix(reactivity): call array subclass methods (#3624) 2021-07-15 17:17:13 -04:00
collectionHandlers.ts refactor(reactivity): improve tree-shaking annotations 2021-06-30 11:39:31 -04:00
computed.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
effect.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
index.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
operations.ts refactor(reactivity): separate track and trigger operation types 2019-12-03 11:30:24 -05:00
reactive.ts perf(reactivity): ref-specific track/trigger and miscellaneous optimizations (#3995) 2021-07-16 14:30:49 -04:00
ref.ts refactor: small bundle size / readability optimization 2021-07-16 14:30:49 -04:00