about summary refs log tree commit diff
path: root/tools/url-blocker/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-07-01T13·59+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-07-01T13·59+0100
commita8b3a2d3c0aad932c650e60959b6afab7d3fa018 (patch)
tree86276249a446677ffa89774f95a9df8e98ece1b1 /tools/url-blocker/default.nix
parentec7c8516f7443e76233aa0f44d06c074f88498f0 (diff)
Support part 2/3 for the Memo problem
Bound the size of the memo by creating a BoundedQueue. Whenever we add elements
to the BoundedQueue, we remove the oldest elements. We use the BoundedQueue to
control the size of our dictionary that we're using to store our key-value pairs.
Diffstat (limited to 'tools/url-blocker/default.nix')
0 files changed, 0 insertions, 0 deletions