





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















Reduces storage space and hence storage cost.
code key
a
b
code key
a
b
ab
code key
a
b
ab
ba
aba
code key
a
b
ab
ba
aba
abb
code key
a
b
ab
ba
aba
abb
bab
baa
code key
a
b
ab
ba
aba
abb
bab
baa
abba
code key
a
b
ab
ba
aba
abb
bab
baa
abba
abbaa
Pairs are (key, element) = (key,code). Operations are : get(key) and put(key, code)
Convert variable length keys into fixed length keys. Each key has the form pc, where the string p is a key that is already in the table. Replace pc with (pCode)c.
code key
a
b
ab
ba
aba
abb
bab
baa
abba
abbaa
code key
a
b
code key
a
b
ab