]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
perf(runtime-core): avoid duplicate postFlushCb invocation
authorEvan You <yyx990803@gmail.com>
Thu, 16 Jul 2020 02:36:41 +0000 (22:36 -0400)
committerEvan You <yyx990803@gmail.com>
Thu, 16 Jul 2020 02:36:41 +0000 (22:36 -0400)
commit165068dbc295bb70fdec9ae56dfcaac17d2f977c
tree1300a04cf0e1c9ee83de242ccc07564e9d94ffd9
parentaab99abd28a5d17f2d1966678b0d334975d21877
perf(runtime-core): avoid duplicate postFlushCb invocation

Also improve flush performance by using for loop instead of shift()

fix #1595
packages/runtime-core/__tests__/scheduler.spec.ts
packages/runtime-core/src/scheduler.ts