• Hans-Nikolai Viessmann's avatar
    memoize last used key on search next · 3aab2c6e
    Hans-Nikolai Viessmann authored
    In the case where we have multiple keys stored in the same bucket,
    a next search for the second (or later) key leads to a bogus lookup.
    This occurs as the key is not memoized between consecutive calls
    of the next function, and so conflicts with some state information
    about the LUT. This commit resolves this issue, and improves the unit
    tests to specifically look for this case.
    3aab2c6e