typeahead.py : slow