1. 11 Feb, 2010 2 commits
  2. 10 Feb, 2010 35 commits
  3. 09 Feb, 2010 3 commits
    • Oswald Buddenhagen's avatar
      optimize function scoping · 0e6fe766
      Oswald Buddenhagen authored
      previously, the entire value hash was simply pushed on a stack upon
      entering a custom function. the problem with that was that setting the
      function's argument already detached (i.e., copied) the entire hash.
      so instead store only actually modified values in nested scopes and let
      lookups cascade to parent scopes.
      
      improvement: 2% for qt, 15% for creator ...
      0e6fe766
    • Oswald Buddenhagen's avatar
      do not scope the per-file variable values · 62270c1c
      Oswald Buddenhagen authored
      it is extremely unlikely that a function would change one of the
      interesting variables (all types of source file lists) but not re-export
      them subsequently. thus the scoping only complicates matters and burns
      cpu cycles.
      
      we ignore the tiny possibility that this could illegitimately reset a
      list while doing exact parsing - the subsequent cumulative parsing would
      most likely catch these files again anyway.
      62270c1c
    • Oswald Buddenhagen's avatar