Ticket #2290: make file find faster.
commit8ae1de5b027509e0d7a710c7883231a036202814
authorSergey Naumov <sknaumov@gmail.com>
Mon, 2 Dec 2013 05:30:40 +0000 (2 09:30 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Tue, 14 Jan 2014 10:13:38 +0000 (14 14:13 +0400)
tree26677ed3a20967f8a700158f90f8b6058a0f9c8d
parent7abd8a129731aed33835d5f506949aaf7097accc
Ticket #2290: make file find faster.

Gets rid of get_line_at() function that was called only at one place and
was tightly coupled with caller function. It allows to perform some
minor optimizations, and as a result improve search time by 8%.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/find.c