From 59c3f2949c52a7fa7b3520f0453a9e23f3881c8e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 10 Jul 1998 21:11:01 +0000 Subject: Add point for gconv-modules db. --- PROJECTS | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/PROJECTS b/PROJECTS index 06242c70e0..3537b44227 100644 --- a/PROJECTS +++ b/PROJECTS @@ -1,6 +1,6 @@ Open jobs for finishing GNU libc: --------------------------------- -Status: May 1998 +Status: July 1998 If you have time and talent to take over any of the jobs below please contact . @@ -113,10 +113,6 @@ contact . to the page size and install the correct length only for fclose() and fflush() calls. -[17] The sprof program to analyze the profiling data generated by ld.so - must be finished. It should have the same functionality as gprof - (as far as this is possible). - [18] Based on the sprof program we need tools to analyze the output. The result should be a link map which specifies in which order the .o files are placed in the shared object. This should help to improve @@ -134,3 +130,22 @@ contact . [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 + +[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 ... + } -- cgit v1.2.3