3 ms·
In case of huge enough models it possibly can be made even faster using look (binary search), instead of grep... It is better in O terms, with maybe some large
by szemet 7y ago
In case of huge enough models it possibly can be made even faster using look (binary search), instead of grep... It is better in O terms, with maybe some large constant factor due to file seeking...
http://man7.org/linux/man-pages/man1/look.1.html http://man7.org/linux/man-pages/man1/look.1.html