Triemaps that match

02/17/2023
by   Simon Peyton Jones, et al.
0

The trie data structure is a good choice for finite maps whose keys are data structures (trees) rather than atomic values. But what if we want the keys to be patterns, each of which matches many lookup keys? Efficient matching of this kind is well studied in the theorem prover community, but much less so in the context of statically typed functional programming. Doing so yields an interesting new viewpoint – and a practically useful design pattern, with good runtime performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/11/2021

Efficient Extensional Binary Tries

Lookup tables (finite maps) are a ubiquitous data structure. In pure fun...
research
12/15/2020

Sorting Lists with Equal Keys Using Mergesort in Linear Time

This article introduces a new optimization method to improve mergesort's...
research
09/13/2018

A Self-Stabilizing Hashed Patricia Trie

While a lot of research in distributed computing has covered solutions f...
research
05/21/2018

The Adaptive sampling revisited

The problem of estimating the number n of distinct keys of a large colle...
research
04/14/2021

Engineering Predecessor Data Structures for Dynamic Integer Sets

We present highly optimized data structures for the dynamic predecessor ...
research
07/11/2021

Fairer Software Made Easier (using "Keys")

Can we simplify explanations for software analytics? Maybe. Recent resul...
research
05/11/2017

ROCKER: A Refinement Operator for Key Discovery

The Linked Data principles provide a decentral approach for publishing s...

Please sign up or login with your details

Forgot password? Click here to reset