I am using this method for sentiment analysis. But the last line of code takes about 35 minutes to run. Granted vector_A is 179K+ elements and 2.3 MB in size. library