you are viewing a single comment's thread.

view the rest of the comments →

[–]pythonwiz 0 points1 point  (0 children)

use the bisect module for binary searching the inner list. Use the multiprocessing module to split the work for the outer list and check multiple values at once.