diff options
| author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2026-04-12 17:00:45 +0300 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-04-16 10:42:13 +0100 |
| commit | 40dafb7439931779d73f2db3e74e971cef108b6c (patch) | |
| tree | 8cb25b002a48e5c7051b6d9f4ec05965c23aceb8 /scripts/embedded_scripts | |
| parent | 36d76efaa9c10f22925eb94a9d0883cb24a13bd8 (diff) | |
| download | busybox-w32-40dafb7439931779d73f2db3e74e971cef108b6c.tar.gz busybox-w32-40dafb7439931779d73f2db3e74e971cef108b6c.tar.bz2 busybox-w32-40dafb7439931779d73f2db3e74e971cef108b6c.zip | |
win32: regcomp.c: use isactype insead of switch
This saves more than 1K size because the original switch code expanded
a two-loops macro - BUILD_CHARCLASS_LOOP in each of the 12 "case".
Performance is non critical here in regcomp, but nevertheless, a future
commit will optimize actype/isactype, and especially isactype_not0
(which is used here with non-0 type).
Also:
- "#if 0" was replaced with "#ifndef CONFIG_BUSYBOX" for clarity.
- is_blank is no longer used, and disabled in this commit.
Diffstat (limited to 'scripts/embedded_scripts')
0 files changed, 0 insertions, 0 deletions
