busybox/findutils
Ismael Luceno 421c8767ba find: Unify time comparisons
Split the common part into a function, to be reused.

The tail call is optimized, meaning now mmin/mtime just prepare arguments
and jump into the common code, thus near zero overhead.

This reduces code size slightly, e.g. on x86_64:
   text    data     bss     dec     hex filename
   4806       0       0    4806    12c6 findutils/find.o.orig
   4782       0       0    4782    12ae findutils/find.o

Of course, the savings are even greater when implementing atime/ctime
variants.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-07 16:40:37 +02:00
..
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
find.c find: Unify time comparisons 2021-10-07 16:40:37 +02:00
grep.c Regularize "NUL terminated input" --help texts 2021-08-22 15:43:29 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
xargs.c Regularize "NUL terminated input" --help texts 2021-08-22 15:43:29 +02:00