Performance optimization for closure/async:debouncer. Don't call clearTimeout and setTimeout on each fire, these system calls are expensive. Instead leave the timer untouched and when it does fire potentially reschedule it.
Performance optimization for closure/async:debouncer.
Don't call clearTimeout and setTimeout on each fire, these system calls are expensive.
Instead leave the timer untouched and when it does fire potentially reschedule it.

RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151502215

teppeis/closure-library,platinumpixs/google-closure-library,google/closure-library,lucidsoftware/closure-library,teppeis/closure-library,platinumpixs/google-closure-library,platinumpixs/google-closure-library,lucidsoftware/closure-library,google/closure-library,ikabirov/closure-library,teppeis/closure-library,ikabirov/closure-library,ikabirov/closure-library,platinumpixs/google-closure-library,lucidsoftware/closure-library,lucidsoftware/closure-library,teppeis/closure-library,google/closure-library,google/closure-library,google/closure-library,ikabirov/closure-library