Closed rth closed 5 years ago
This Improves CountVectorizer performance (making it around 30% faster) by avoiding casting tokens from &str to String while checking if a token is already in the vocabulary.
CountVectorizer
&str
String
This Improves
CountVectorizer
performance (making it around 30% faster) by avoiding casting tokens from&str
toString
while checking if a token is already in the vocabulary.