* Enforce import of ujson in strings.pyx, because otherwise it's too slow

This commit is contained in:
Matthew Honnibal 2015-11-04 00:32:02 +11:00
parent 1ce5d5602d
commit 65934b7cd4
1 changed files with 1 additions and 4 deletions

View File

@ -17,10 +17,7 @@ try:
except ImportError:
import io
try:
import ujson as json
except ImportError:
import json
cpdef hash_t hash_string(unicode string) except 0: