walles/moar

new moar hung for few second while searching

ciscohack opened this issue · 7 comments

In the latest moar, it seems the old search and freeze issue is back. while searching for any keyword CLI freeze for a few seconds.

moar version v1.23.13

How big is your input?

I just tried with a 14MB file and searching was OK but not great.

it has 5 lakh lines but this search freeze was fixed in old build when last time i reported if you remember..freeze is more evident when you accidently type wrong word not exist in file

it has 5 lakh lines

I looked it up, this means five hundred thousand lines right?

it has 5 lakh lines

I looked it up, this means five hundred thousand lines right?

yes correct!

I'm not sure if this fixes it, but 1.23.14 should at least be less bad in this regard.

Please try it out and see what you think.

7b032b2 should make the search a lot faster for large files.

That version uses all available cores for searching, rather than just one.