At the moment, operator waitRace applies generic processing logic when cacheSize is < 2.
It should instead check if cacheSize < 2, and then deactivate fully, i.e. behave like operator wait.
This is because there is no point applying all the complex processing logic to something that won't be able to change the output anyway, because the cache size of 1 does not permit any resolution racing.
At the moment, operator waitRace applies generic processing logic when
cacheSize
is < 2.It should instead check if
cacheSize
< 2, and then deactivate fully, i.e. behave like operator wait.This is because there is no point applying all the complex processing logic to something that won't be able to change the output anyway, because the cache size of 1 does not permit any resolution racing.
This is just a performance optimization 🚀
This is some improvement, following #182