1. 29 Mar, 2016 8 commits
  2. 28 Mar, 2016 16 commits
  3. 27 Mar, 2016 4 commits
  4. 26 Mar, 2016 9 commits
  5. 25 Mar, 2016 3 commits
    • Kevin Modzelewski's avatar
      These are passing · 9dbdc9b5
      Kevin Modzelewski authored
      9dbdc9b5
    • Kevin Modzelewski's avatar
      Add a freelist for attribute arrays · c524f07e
      Kevin Modzelewski authored
      Now that they are only a small number of sizes (powers of two),
      can use a freelist pretty easily.  Especially because most of the
      allocations will come from places where we can precompute the freelist
      index.
      
      About a 5% improvement on raytrace.py
      c524f07e
    • Kevin Modzelewski's avatar
      Grow the attribute-array exponentially instead of linearly · 843ad031
      Kevin Modzelewski authored
      Our old allocator supported very fast realloc() calls (amortized constant
      time), and we relied on that by doing "realloc(array, old_size + 1)" every
      time we wanted to grow the array.
      
      Instead, now do "if (power_of_two(old_size)) realloc(array, old_size * 2)"
      Somehow this is 15% faster overall.
      843ad031