Use an enum to replace a couple of magic numbers in ssplit()
[privoxy.git] / TODO
diff --git a/TODO b/TODO
index 0542522..236989c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-$Id: TODO,v 1.61 2012/03/09 16:22:24 fabiankeil Exp $
+$Id: TODO,v 1.63 2012/04/22 12:15:33 fabiankeil Exp $
 
 Some Privoxy-related tasks, sorted by the time they
 have been added, not by priority.
@@ -295,3 +295,14 @@ http://ijbswa.cvs.sourceforge.net/viewvc/ijbswa/current/TODO
      and thus changing the User-Agent doesn't fool them.
 
 102) Add an include directive to split the config file into several parts.
+
+103) Potential performance improvement for large action files:
+     when figuring out which actions apply, check the action bitmask
+     before pattern matching and skip section that wouldn't modify the
+     actions already set. To increase the impact the sections would have
+     to be applied in reverse.
+
+104) The code to modify global_toggle_state should be factored out into
+     a separate function. Currently we mess with it in three different
+     files, but only in w32log.c the tray icon is explicitly set.
+     The logging is inconsistent as well. For details see #3525694.