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 | TODO: UUGetFilename should understand yenc subject lines |
4 | |
5 | |
|
|
6 | - when parsing yenc encoded files, file size and some other data was converted |
|
|
7 | using atoi, confusing the decoder for files >2G. |
|
|
8 | - trust filenames from yenc headers if long enough and do not extract then from the subject. |
|
|
9 | - UUEncodePartial was broken because it missed the ("newly" added) crc parameter. |
|
|
10 | - remove some pre-c99 support. |
|
|
11 | - call abort in some code that should not be reached. |
|
|
12 | - exported extensions used by the perl interface in uudeview.h, so it |
|
|
13 | no longer includes uuint.h. |
|
|
14 | - compile whole uulib as single .c file. |
|
|
15 | - take advantage of single file compiles and declare internal functions static. |
|
|
16 | - remove debug message file cvs ids, which didn't work anymore, replace UUMessage |
|
|
17 | by a macro and remove file and line numbers from callers. |
|
|
18 | - mark some more functions as static. |
|
|
19 | - fix some typos (Damyan Ivanov via Florian Schlichting). |
|
|
20 | |
|
|
21 | 1.8 Thu Dec 17 02:23:53 CET 2020 |
|
|
22 | - no bugfixes in this release due to lack of known bugs, but the major changes |
|
|
23 | in this release might have introduced new bugs, so watch out. |
|
|
24 | - update large decoder example to disable OPT_AUTOCHK and use Smerge -1. |
|
|
25 | - some micro-optimisations. |
|
|
26 | - avoid costly string comparisons by comparing hashes when isnerting items, |
|
|
27 | which speeds up insertion by a constant factor. |
|
|
28 | - improve uulist (and other) structure layout and size. |
|
|
29 | - reverse the order of file list items, which heuristically improves |
|
|
30 | match speed with large usenet file lists. |
|
|
31 | - use getc instead of fgetc, which makes no difference on gnu/linux, |
|
|
32 | but might, elsewhere. |
|
|
33 | - clean up _FP symbol names to not start with an underscore. |
|
|
34 | - use feof_unlocked and ferror_unlocked. |
|
|
35 | - implement a faster ascii-only strnicmp. |
|
|
36 | - misc very minor code improvements. |
|
|
37 | - remove quite a bit of pre-posix/dos/etc. cruft. |
|
|
38 | - use flockfile, if available, for a potential but small |
|
|
39 | speed gain. |
|
|
40 | - speed up inner yenc decoder loop. |
|
|
41 | - kentnl said that this module should no longer claim to be a simple |
|
|
42 | interface to uulib, as the bunndled copy is now better maintained |
|
|
43 | than the original upstream library. |
|
|
44 | |
|
|
45 | 1.71 Tue Mar 17 00:54:06 CET 2020 |
|
|
46 | - backport to c89 (patch by Paul Howarth). |
|
|
47 | |
|
|
48 | 1.7 Sat Feb 29 22:07:54 CET 2020 |
|
|
49 | - new function: GetFileList. |
|
|
50 | - experimental perlmulticore support (see manpage). |
|
|
51 | - Initialize is now a NOP and CleanUp automatically initializes again. |
|
|
52 | - updated example decoder and documentation a bit. |
|
|
53 | - include ecb.h to deal with compiler builtins and endianness. |
5 | - some further µ-optimisations in hot code. |
54 | - some further µ-optimisations in hot code, especially for yEnc. |
|
|
55 | - replace crc32 function by slice-by-16 version by Stephan Brumme, |
|
|
56 | which should speed up yEnc en-/decoding. |
|
|
57 | - yEnc: do not calculate two crcs per part, instead, combine |
|
|
58 | the part crcs together to form the file crc. |
6 | - yEnc: allow pcrc= in addition to pcrc32= for yenc trailers, as |
59 | - yEnc: allow pcrc= in addition to pcrc32= for yenc trailers, as |
7 | some draft mentions both and it is actually in active use. |
60 | some draft mentions both and it is actually in active use. |
8 | - yEnc: ignore crc32= on multiparts, except on the last part. |
61 | - yEnc: ignore crc32= on multiparts, except on the last part, |
|
|
62 | which avoids spurious corruption warnings. |
|
|
63 | - be more precise in documenting code licenses in COPYING. |
|
|
64 | - convert constant creation to the method I normally use. |
|
|
65 | - use common::sense. |
9 | |
66 | |
10 | 1.62 Mon Feb 17 23:19:42 CET 2020 |
67 | 1.62 Mon Feb 17 23:19:42 CET 2020 |
11 | - major performance improvement by simplifying code in _FP_gets |
68 | - major performance improvement by simplifying code in _FP_gets |
12 | to not use fscanf. This might slow things down on platforms |
69 | to not use fscanf. This might slow things down on platforms |
13 | with very slow fgetc. |
70 | with very slow fgetc. |