Fast prefix matching of bounded strings
Authors:
Open Access
- 31 December 2003
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Journal of Experimental Algorithmics
- Vol. 8
Abstract
Longest Prefix Matching (LPM) is the problem of finding which string from a given set is the longest prefix of another, given string. LPM is a core problem in many applications, including IP routing, network data clustering, and telephone network management. These applications typically require very fast matching of bounded strings, i.e., strings that are short and based on small alphabets. We note a simple correspondence between bounded strings and natural numbers that maps prefixes to nested intervals so that computing the longest prefix matching a string is equivalent to finding the shortest interval containing its corresponding integer value. We then present retries , a fast and compact data structure for LPM on general alphabets. Performance results show that retries often outperform previously published data structures for IP look-up. By extending LPM to general alphabets, retries admit new applications that could not exploit prior LPM solutions designed for IP look-ups.Keywords
This publication has 25 references indexed in Scilit:
- Scalable high-speed prefix matchingACM Transactions on Computer Systems, 2001
- IP lookups using multiway and multicolumn searchIEEE/ACM Transactions on Networking, 1999
- IP-address lookup using LC-triesIEEE Journal on Selected Areas in Communications, 1999
- Fast address lookups using controlled prefix expansionACM Transactions on Computer Systems, 1999
- On the Comparison Complexity of the String Prefix-Matching ProblemJournal of Algorithms, 1998
- Routing on longest-matching prefixesIEEE/ACM Transactions on Networking, 1996
- Fast parallel string prefix-matchingTheoretical Computer Science, 1995
- Linear approximation of shortest superstringsJournal of the ACM, 1994
- Algorithms for the Longest Common Subsequence ProblemJournal of the ACM, 1977
- A Space-Economical Suffix Tree Construction AlgorithmJournal of the ACM, 1976