[File] [PATCH] Magdir/make: combine regex into single multi branch regex

Dirk Müller dirk at dmllr.de
Sat Mar 12 10:01:50 UTC 2022

> Why was this done the previous way?

Okay, I see, the length of the regex determines strength ranking.
Here's an updated patch that adjusts
the strength to the previous level, and keeps the same detection
quality. tested over 65000 files, no change to prior
in detection, however ~ 20% better performance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-combine-regex-magics-into-single-with-multi-bra.patch
Type: text/x-patch
Size: 2109 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20220312/5da40655/attachment.bin>

More information about the File mailing list