Paul Eggert
60bd7bad9d
basenc: fix unlikely locale issue; tune
...
This sped up ‘basenc -d --base16’ by 60% on my old platform,
AMD Phenom II X4 910e, Fedora 38.
* src/basenc.c (struct base16_decode_context): Simplify by
omitting have_nibble. ‘nibble’ is now negative if it’s missing.
All uses changed.
(B16): New macro, inspired by ../lib/base64.c.
(base16_to_int): New static var, likewise.
(isubase16): Reimplement using base16_to_int, since isxdigit is
not guaranteed to succeed on the chars we want when the locale is
oddball.
(base16_decode_ctx): Tune by using base16_to_int and by
2023-10-25 15:09:27 -07:00
..
2023-07-01 11:51:15 -07:00
2021-03-29 14:10:09 +01:00
2023-07-01 11:51:16 -07:00
2023-10-25 15:09:27 -07:00
2023-09-04 23:12:02 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-08-30 20:32:13 -07:00
2023-09-04 23:12:02 -07:00
2023-06-29 15:29:29 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-04-24 11:46:28 +01:00
2023-07-31 17:51:28 -07:00
2023-02-06 13:09:40 +00:00
2023-07-17 11:28:36 +01:00
2023-09-08 16:25:39 -07:00
2023-09-08 16:25:39 -07:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-07-01 11:51:16 -07:00
2023-09-04 23:12:02 -07:00
2022-01-31 12:07:39 -08:00
2023-08-28 14:06:43 -07:00
2023-04-10 19:45:14 +01:00
2023-07-31 17:51:28 -07:00
2023-08-01 15:35:44 +01:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-09-13 23:08:02 +01:00
2023-09-23 00:28:27 -07:00
2023-09-13 23:08:02 +01:00
2023-07-31 17:51:28 -07:00
2023-06-12 21:55:51 +01:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-09-04 23:12:02 -07:00
2023-07-01 11:51:15 -07:00
2023-07-31 17:51:28 -07:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-07-17 11:28:36 +01:00
2023-09-23 00:28:26 -07:00
2023-01-01 14:50:15 +00:00
2023-09-23 01:15:50 -07:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-06-29 15:29:29 -07:00
2021-10-31 22:36:46 -07:00
2023-09-13 23:08:02 +01:00
2023-09-13 23:08:02 +01:00
2023-01-01 14:50:15 +00:00
2023-07-01 11:51:16 -07:00
2023-09-04 23:12:02 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-09-04 23:12:02 -07:00
2023-08-30 20:32:13 -07:00
2023-03-13 21:26:21 +00:00
2023-09-13 23:08:02 +01:00
2023-08-30 20:32:13 -07:00
2023-09-13 23:08:02 +01:00
2023-07-01 11:51:16 -07:00
2023-09-04 23:12:02 -07:00
2023-09-23 17:20:25 -07:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-09-23 00:28:27 -07:00
2012-01-09 21:51:59 +01:00
2023-04-26 18:20:20 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-07-31 17:51:28 -07:00
2023-08-28 14:06:43 -07:00
2023-07-01 11:51:16 -07:00
2023-09-13 23:08:02 +01:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-09-13 23:08:02 +01:00
2023-09-13 23:08:02 +01:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-07-17 11:28:36 +01:00
2023-09-23 00:28:26 -07:00
2023-09-13 23:08:02 +01:00
2023-09-13 23:08:02 +01:00
2023-06-29 15:29:29 -07:00
2023-09-23 00:28:27 -07:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-09-13 23:08:02 +01:00
2023-09-04 23:12:02 -07:00
2023-07-01 11:51:16 -07:00
2023-08-28 14:06:43 -07:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-07-01 11:51:16 -07:00
2023-06-29 15:29:29 -07:00
2023-09-25 15:26:31 +01:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2023-06-29 15:29:29 -07:00
2023-01-01 14:50:15 +00:00
2023-07-31 17:51:28 -07:00
2023-07-01 11:51:16 -07:00
2023-01-01 14:50:15 +00:00
2023-09-04 23:12:02 -07:00
2023-07-17 11:28:36 +01:00
2023-07-01 11:51:16 -07:00
2023-09-28 18:03:34 -07:00
2023-09-04 23:12:02 -07:00
2023-09-13 23:08:02 +01:00
2023-01-01 14:50:15 +00:00
2023-09-13 23:08:02 +01:00
2023-08-28 14:06:43 -07:00
2023-03-15 14:05:38 +00:00
2023-02-06 13:09:40 +00:00
2023-07-01 11:51:16 -07:00
2023-08-28 14:06:43 -07:00
2023-07-01 11:51:16 -07:00
2023-07-31 18:55:19 +01:00
2023-09-23 01:15:50 -07:00
2023-07-01 11:51:16 -07:00
2023-07-18 23:10:40 +01:00
2023-07-18 23:10:40 +01:00
2023-08-28 14:06:43 -07:00
2023-08-30 20:32:13 -07:00
2023-07-01 11:51:16 -07:00
2023-08-30 20:32:13 -07:00
2023-06-29 15:29:29 -07:00
2023-09-13 23:08:02 +01:00
2023-08-28 14:06:43 -07:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00
2012-01-09 21:51:59 +01:00
2023-07-17 11:28:36 +01:00
2023-09-13 23:08:02 +01:00
2023-07-01 11:51:16 -07:00
2023-09-13 23:08:02 +01:00
2023-08-11 14:07:37 +01:00
2023-09-23 17:20:26 -07:00
2023-09-23 17:07:52 -07:00
2023-09-23 17:07:52 -07:00
2023-08-11 14:07:37 +01:00
2023-07-01 11:51:16 -07:00
2023-07-01 11:51:16 -07:00