structure optimizations again.
[silc.git] / TODO-1.0
index 814075631fe9c44b62620f0889d420fd9b26068a..4a0f6e2a558a18f6f5be2148746b4a900ca5bb41 100644 (file)
--- a/TODO-1.0
+++ b/TODO-1.0
@@ -90,21 +90,6 @@ least could be done.
          SILC_BUFFER_LEN macro can do the same.  These would save
          totally 8 bytes of memory per buffer.
 
-       o Scheduler can be optimized for FD tasks by changing the fd_queue
-         to SilcHashTable instead of using linked list.  We need to do
-         one-to-one mapping of FD to task and hash table is more efficient
-         for this usage.
-
-         Also redefine the silc_select to perhaps return a separate
-         structure of the events that actually occurred, instead of
-         returning the events in the fd_list which is then traversed
-         in the generic code to find the changed events.  This can be
-         made faster by having own struct which includes only the
-         changed events, thus the tarversing is faster since the whole
-         fd_list is not traversed anymore (it is still traversed in the
-         silc_select but at least it removes one extra tarversing later
-         for the same list).
-
  o Optimizations in Server
 
        o Remove the big switch statement from the function 
@@ -137,6 +122,8 @@ least could be done.
 
  o Rewrite SilcProtocol to be SilcFSM (see ~/silcfsm).
 
+ o Do some scheduler optimizations (see ~/silcschedule).
+
  o Change SILC_TASK_CALLBACK to non-static, and remove the macro
    SILC_TASK_CALLBACK_GLOBAL.
 
@@ -153,10 +140,10 @@ least could be done.
 
  o EPOC specific additions/changes required:
 
-       o In lib/silccore/silcpacket.c global RNG is used.  Change the
-         interface for that function.  The PKCS#1 also calls global RNG
-         (even though it is not used currently in SILC, the interface
-         allows its use).
+       o lib/silcutil/epoc routines missing or not completed.
+
+       o The PKCS#1 also calls global RNG (even though it is not used 
+         currently in SILC, the interface allows its use).
 
        o Something needs to be thought to the logging globals as well, 
          like silc_debug etc.  They won't work on EPOC.  Perhaps logging