spring/spring — comment on commit 39496262fb39eb169f28d908ed4c31425b4b901a
File:  line 0
By zerver:

Results:
synced = pseudo-random: the indexing method is faster
synced = constant (volatile global variable): the regular branching is faster (a bigger difference here)

The question is which scenario is more likely to happen in spring
I'd say either one is good, the indexing has slightly more code bloat