1 | Revision history for Perl extension Convert::UUlib. |
1 | Revision history for Perl extension Convert::UUlib. |
2 | |
2 | |
3 | _FP_gets still 70% of scan time. decode time: 24% _FP_gets, uulib_crc32 23%, UUValidData 11% |
3 | TODO: biggest timesinks: FP_fgets/getc_unlocked overall, UUInsertPartToList dominates large loads due to O(n**2) search |
4 | |
4 | |
|
|
5 | - no bugfixes in this release due to lack of known bugs, but the major changes |
|
|
6 | in this release might have introduced new bugs, so watch out. |
|
|
7 | - update large decoder example to disable OPT_AUTOCHK dn use Smerge -1. |
|
|
8 | - some micro-optimisations. |
|
|
9 | - avoid costly string comparisons by comparing hashes when isnerting items, |
|
|
10 | which speeds up insertion by a constant factor. |
|
|
11 | - improve uulist (and other) structure layout and size. |
|
|
12 | - reverse the order of file list items, which heuristically improves |
|
|
13 | match speed with large usenet file lists. |
|
|
14 | - use getc instead of fgetc, which makes no difference on gnu/linux. |
|
|
15 | - clean up _FP symbol names toi not start with an underscore. |
|
|
16 | - use feof_unlocked and ferror_unlocked. |
|
|
17 | - implement a faster ascii-only strnicmp. |
|
|
18 | - misc very minor code improvements. |
|
|
19 | - remove quite a bit of pre-posix/dos/etc. cruft. |
|
|
20 | - use flockfile, if available, for a potential but small |
|
|
21 | speed gain. |
|
|
22 | - speed up inner yenc decoder loop. |
|
|
23 | - kentnl said that this module should no longer claim to be a simple |
|
|
24 | interface to uulib, as the bunndled copy is now better maintained |
|
|
25 | than the original upstream library. |
|
|
26 | |
|
|
27 | 1.71 Tue Mar 17 00:54:06 CET 2020 |
|
|
28 | - backport to c89 (patch by Paul Howarth). |
|
|
29 | |
|
|
30 | 1.7 Sat Feb 29 22:07:54 CET 2020 |
|
|
31 | - new function: GetFileList. |
|
|
32 | - experimental perlmulticore support (see manpage). |
|
|
33 | - Initialize is now a NOP and CleanUp automatically initializes again. |
|
|
34 | - updated example decoder and documentation a bit. |
5 | - include ecb.h to deal with compiler builtins and endianness. |
35 | - include ecb.h to deal with compiler builtins and endianness. |
|
|
36 | - some further µ-optimisations in hot code, especially for yEnc. |
6 | - replace crc32 function by slice-by-16 version by Stephan Brumme, |
37 | - replace crc32 function by slice-by-16 version by Stephan Brumme, |
7 | which should speed up yEnc en-/decoding. |
38 | which should speed up yEnc en-/decoding. |
8 | - some further µ-optimisations in hot code, especially for yEnc. |
39 | - yEnc: do not calculate two crcs per part, instead, combine |
|
|
40 | the part crcs together to form the file crc. |
9 | - yEnc: allow pcrc= in addition to pcrc32= for yenc trailers, as |
41 | - yEnc: allow pcrc= in addition to pcrc32= for yenc trailers, as |
10 | some draft mentions both and it is actually in active use. |
42 | some draft mentions both and it is actually in active use. |
11 | - yEnc: ignore crc32= on multiparts, except on the last part. |
43 | - yEnc: ignore crc32= on multiparts, except on the last part, |
|
|
44 | which avoids spurious corruption warnings. |
12 | - be more precise in documenting code licenses in COPYING. |
45 | - be more precise in documenting code licenses in COPYING. |
|
|
46 | - convert constant creation to the method I normally use. |
|
|
47 | - use common::sense. |
13 | |
48 | |
14 | 1.62 Mon Feb 17 23:19:42 CET 2020 |
49 | 1.62 Mon Feb 17 23:19:42 CET 2020 |
15 | - major performance improvement by simplifying code in _FP_gets |
50 | - major performance improvement by simplifying code in _FP_gets |
16 | to not use fscanf. This might slow things down on platforms |
51 | to not use fscanf. This might slow things down on platforms |
17 | with very slow fgetc. |
52 | with very slow fgetc. |