| 1 |
Need to complete adaptation of MSG to handle the -Z option. |
| 2 |
|
| 3 |
Withdraw code for semi-external sort? |
| 4 |
|
| 5 |
Add record parser for case of separator string rather than single character. |
| 6 |
|
| 7 |
Add reocrd parser for case of record initiator that belongs to record (as in SDF). |
| 8 |
|
| 9 |
|
| 10 |
Add record parser for stanza format, where each record begins with a fixed string |
| 11 |
and ends with another fixed string, neither of which is part of the record. Material |
| 12 |
between a stanza terminator and a stanza initiator is ignored. |
| 13 |
|
| 14 |
To add merge sort, need to duplicate or localize global variables like |
| 15 |
RecordList so as to support two lists and make sure that there are no problems running |
| 16 |
GetFields on two input files. Once we've got the data all processed, basically we |
| 17 |
just need to pass it to the Merge routine of the existing merge sort. Probably |
| 18 |
should do this and test it as a first step. This won't, however, solve the memory |
| 19 |
problem. For that, we've got to arrange to buffer the inputs and have the Merge |
| 20 |
routine request refilling of the buffers when it runs out. |
| 21 |
|
| 22 |
Test compatibility normalization options. |
| 23 |
|
| 24 |
Consider adding to documentation an explanation of how to use msort to |
| 25 |
sort a spreadsheet by exporting in a suitable format, sorting using msort, and |
| 26 |
importing again. |
| 27 |
|
| 28 |
Add to the documentation an explanation of how to use msort to sort a database |
| 29 |
in Standard Dictionary Format. |
| 30 |
|
| 31 |
Check whether we are correctly handling the case in which we use locale comparison |
| 32 |
and the system is unable to set the locale to the one we specifiy. |
| 33 |
|
| 34 |
Need to review in more detail the substitution facility. Tests using back references |
| 35 |
produce peculiar results. Also, should add examples to manual. |
| 36 |
|
| 37 |
When doing regression tests, how should we distinguish between a true error and |
| 38 |
a problem resulting from the lack of locale data? It may be necessary to use a |
| 39 |
special exit code to indicate that a locale problem ocurred. |
| 40 |
|
| 41 |
The current "time" comparison uses ISO8601 time zone offsets but not the full ISO8601 |
| 42 |
format for the time itself. We should probably convert this to ISO8601 time. |
| 43 |
|
| 44 |
Case-folding does not preserve normalization, so we should either normalize |
| 45 |
after case-folding or, if it is necessary to normalize earlier, renormalize |
| 46 |
after case-folding. |
| 47 |
|
| 48 |
Need to update transformations to Unicode 5.1. |
| 49 |
|
| 50 |
Add to test suite: |
| 51 |
locales |
| 52 |
|
| 53 |
Consider making use of TRE regexp library optional. |
| 54 |
This would entail adding the option to configure.ac |
| 55 |
and ifdefing the portions of code relevant to: |
| 56 |
(a) tag matching; |
| 57 |
(b) substitutions; |
| 58 |
In the case of compilation without the regexp library: |
| 59 |
For tag matching, we'd have to use exact matching instead. |
| 60 |
For substitutions, we'd have to use simple string substitution. |
| 61 |
|
| 62 |
Add IPv6 address sorting: |
| 63 |
http://tools.ietf.org/html/rfc4291 |
| 64 |
full form is 8 groups of 4 hex digits separated by colons |
| 65 |
The last two groups may be replaced by four decimal bytes using dots as separators |
| 66 |
abbreviations: |
| 67 |
leading 0s within a group may be omitted |
| 68 |
any number of groups consisting entirely of 0 may be replaced by a double colon |
| 69 |
but only one double colon is permitted in order to avoid ambiguity. |
| 70 |
algorithm: (a) locate IPv4 tail if present and convert to IPv6 |
| 71 |
(b) expand :: |
| 72 |
(c) treat as hybrid |
| 73 |
|
| 74 |
Consider adding parallel merge sort (http://www.mweissmann.de/downloads/libpmsort-0.3.tar.bz2) |
| 75 |
as an additional algorithm choice. This would yield significant speed improvements |
| 76 |
on multi-core systems. Compare must be thread safe - need to check into this. |
| 77 |
Any global variables that might change need to be made thread-local by means |
| 78 |
of the declaration _thread, e.g.: |
| 79 |
|
| 80 |
_thread int foo; |
| 81 |
|
| 82 |
The only global variable that is written by Compare is ComparisonCnt. |
| 83 |
KeyCount and KeyInfo are never modified once the actual sort starts. |
| 84 |
|
| 85 |
|
| 86 |
|