[gtk-doc] todo: update



commit f493de05d4ae4b4ffea02e5c821488dcc971aacd
Author: Stefan Kost <ensonic users sf net>
Date:   Thu Aug 19 13:36:39 2010 +0300

    todo: update

 TODO |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/TODO b/TODO
index ca07fd3..bb81f8d 100644
--- a/TODO
+++ b/TODO
@@ -430,8 +430,14 @@ grep "gst_caps_is_always_compatible" tags
   - compile xslt
     http://sourceforge.net/projects/xsltc/
     http://www.xmlhack.com/read.php?item=618
+  - extra xsltproc options:
+    --novalid: saves ~ 0.12 sec
 
 - perl regexps
-  not really an issue, but we can improve by compiling the regexps
-  http://stackoverflow.com/questions/550258/does-the-o-modifier-for-perl-regular-expressions-still-provide-any-benefit
+  - not really an issue, but we can improve by compiling the regexps
+    http://stackoverflow.com/questions/550258/does-the-o-modifier-for-perl-regular-expressions-still-provide-any-benefit
+  - we use $&, $', and $` in several places (comple match, pre-match and post-match). 
+    Those are slow and once they are used a single time perl prepares them for every match operation.
+    Since perl 5.10 one can use the /p flag for matches where this is needed and then use
+    ${^PREMATCH} , ${^MATCH}  and ${^POSTMATCH}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]