def prefix_encode_all(ls):
    
    last = u''
    for w in ls:
        i = first_diff(last, w)
        yield chr(i) + w[i:].encode("utf8")
        last = w
Compresses the given list of (unicode) strings by storing each string
dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/util.py/prefix_encode_all