beagle r3253 - trunk/beagle/Filters



Author: dbera
Date: 2007-01-13 04:28:32 +0000 (Sat, 13 Jan 2007)
New Revision: 3253
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3253&view=rev

Modified:
   trunk/beagle/Filters/FilterBoo.cs
   trunk/beagle/Filters/FilterC.cs
   trunk/beagle/Filters/FilterCSharp.cs
   trunk/beagle/Filters/FilterCpp.cs
   trunk/beagle/Filters/FilterFortran.cs
   trunk/beagle/Filters/FilterJava.cs
   trunk/beagle/Filters/FilterJs.cs
   trunk/beagle/Filters/FilterLisp.cs
   trunk/beagle/Filters/FilterMatlab.cs
   trunk/beagle/Filters/FilterPascal.cs
   trunk/beagle/Filters/FilterPerl.cs
   trunk/beagle/Filters/FilterPhp.cs
   trunk/beagle/Filters/FilterPython.cs
   trunk/beagle/Filters/FilterRuby.cs
   trunk/beagle/Filters/FilterScilab.cs
   trunk/beagle/Filters/FilterShellscript.cs
   trunk/beagle/Filters/FilterSource.cs
Log:
FilterSource and related filter optimizations:
* Replace hashtable by Dictionary<string, bool>
* Instead of storing a static array, store a static Dictionary instead.
Tested with heap-buddy that this saves quite some allocations.





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