• Sasha Goldshtein's avatar
    funccount: Do not prepopulate location cache · 4e9289b1
    Sasha Goldshtein authored
    Avoiding the prepopulation of the location cache allows us
    to get rid of the `zero()` call at the end of each interval,
    which would hang the program at full CPU. Replaced the
    prepopulation with a `lookup_or_init` and the `zero()` call
    with a call to `clear()`.
    4e9289b1
funccount.py 10.9 KB