[Thunar-workers] [DokuWiki] page changed: implementation:mime-glob-match

thunar-workers at xfce.org thunar-workers at xfce.org
Mon Mar 7 00:19:17 CET 2005


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2005/03/06 23:19
Browser     : Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050122 Firefox/1.0
IP-Address  : 217.229.249.18
Hostname    : pD9E5F912.dip.t-dialin.net
Old Revision: http://thunar.xfce.org/wiki/implementation:mime-glob-match?rev=1110150185
New Revision: http://thunar.xfce.org/wiki/implementation:mime-glob-match
Edit Summary: 
User        : benny

@@ -79,8 +79,23 @@
  While reducing the number of comparisons, it's important to keep an
  eye on data locality; else, if we stall the CPU 50 times waiting
  for main memory, we'll surely experience a huge performance problem
  with large directories in the end.
+ 
+ A simple worst case scenario here would be a MP3 directory with all
+ extensions in upper case (''*.MP3'') and say about 3000 such mp3
+ files. Since the extension is upper-cased, we'd need the following
+ steps:
+ 
+   - Case-sensitive Literal pattern matching
+   - Case-sensitive Simple pattern matching
+   - Case-sensitive Complex pattern matching
+   - Case-insensitive Literal pattern matching
+   - Case-insensitive Simple pattern matching
+ 
+ (plus the magic rules > 80 checks first). Performing these actions
+ on 3000 files will take time; it's therefore important to optimize
+ the Glob Pattern Matching as much as possible.
  
  :!: More research required!
  
  



-- 
This mail was generated by DokuWiki at
http://thunar.xfce.org/wiki/



More information about the Thunar-workers mailing list