1. 19 Jun, 2009 6 commits
  2. 18 Jun, 2009 5 commits
  3. 17 Jun, 2009 3 commits
  4. 16 Jun, 2009 7 commits
  5. 15 Jun, 2009 6 commits
  6. 14 Jun, 2009 2 commits
  7. 13 Jun, 2009 3 commits
  8. 12 Jun, 2009 6 commits
  9. 11 Jun, 2009 2 commits
    • Tim-Philipp Müller's avatar
      gstvalue: more efficient value table lookup for fundamental types · 4530151a
      Tim-Philipp Müller authored
      Small micro-optimisation: look up value table for fundamental types
      via an array dedicated to fundamental types instead of going through
      a hash table lookup. Since there can be only 255 fundamental types,
      the table size/efficiency trade-off should be acceptable, esp. since
      the most commonly-used types are all fundamental types. The size of
      the table could probably be minimised further if needed by allocating
      the table dynamically and only expanding it on demand.
      4530151a
    • Tim-Philipp Müller's avatar
      gstvalue: don't put GTypes into int variables · e8bfd88f
      Tim-Philipp Müller authored
      GTypes are not ints and as such are not guaranteed to fit into an int
      (with the exception of fundamental types), so we really shouldn't put
      them into int variables. Even if a rather unlikely obscure corner case,
      this has actually been a problem at some point in the past, see commit
      99f16655.
      e8bfd88f