+
+[20] More conversion modules for iconv(3). Existing modules should be
+ extended to do things like transliteration if this is wanted.
+ For often used conversion a direct conversion function should be
+ available.
+
+
+[21] The nscd program and the stubs in the libc should be changed so
+ that each program uses only one socket connect. Take a look at
+ http://www.cygnus.com/~drepper/nscd.html
+
+ An alternative approach is to use an mmap()ed file. The idea is
+ the following:
+ - the nscd creates the hash tables and the information it stores
+ in it in a mmap()ed region. This means no pointers must be
+ used, only offsets.
+ - each program using NSS functionality tries to open the file
+ with the data.
+ - by checking some timestamp (which the nscd renew frequently)
+ the programs can test whether the file is still valid
+ - if the file is valid look through the nscd and locate the
+ appropriate hash table for the database and lookup the data.
+ If it is included we are set.
+ - if the data is not yet in the database we contact the nscd using
+ the currently implemented methods.
+
+
+[22] It should be possible to have the information gconv-modules in
+ a simple database which is faster to access. Using libdb is probably
+ overkill and loading it would probably be slower than reading the
+ plain text file. But a file format with a simple hash table and
+ some data it points to should be fine. Probably it should be
+ two tables, one for the aliases, one for the mappings. The code
+ should start similar to this:
+
+ if (stat ("gconv-modules", &stp) == 0
+ && stat ("gconv-modules.db", &std) == 0
+ && stp.st_mtime < std.st_mtime)
+ {
+ ... use the database ...
+ {
+ else
+ {
+ ... use the plain file if it exists, otherwise the db ...
+ }
+
+
+[23] The `strptime' function needs to be completed. This includes among
+ other things that it must get teached about timezones. The solution
+ envisioned is to extract the timezones from the ADO timezone
+ specifications. Special care must be given names which are used
+ multiple times. Here the precedence should (probably) be according
+ to the geograhical distance. E.g., the timezone EST should be
+ treated as the `Eastern Australia Time' instead of the US `Eastern
+ Standard Time' if the current TZ variable is set to, say,
+ Australia/Canberra or if the current locale is en_AU.
+
+
+[25] Sun's nscd version implements a feature where the nscd keeps N entries
+ for each database current. I.e., if an entries lifespan is over and
+ it is one of the N entries to be kept the nscd updates the information
+ instead of removing the entry.
+
+ How to decide about which N entries to keep has to be examined.
+ Factors should be number of uses (of course), influenced by aging.
+ Just imagine a computer used by several people. The IDs of the current
+ user should be preferred even if the last user spent more time.
+
+
+[26] Improve the AIO implementation so that threads do not immediately
+ terminate if no more requests are available. Let them sleep for a
+ while and wake them up on demand. If after a while no request arrived
+ they really can die.