logoalt Hacker News

asgraham • yesterday at 12:43 AM • 0 replies • view on HN

To clarify slightly, K and V are used to construct the dictionary, and then Q is the lookup key D[Q] as described (with the lookup being based on similarity rather than exact hash as it would be in an actual dictionary).