Buckets.SternBrocot (plug_ratelimit v0.21.39)
In number theory, the Stern–Brocot tree is an infinite complete binary tree in which the vertices correspond one-for-one to the positive rational numbers, whose values are ordered from the left to the right as in a search tree.
Link to this section Summary
Link to this section Functions
Link to this function
find(requests_per_second)
Specs
find(pos_integer()) :: [tokens: pos_integer(), interval_ms: pos_integer()]