Skip to content
Snippets Groups Projects
  1. Jan 01, 2013
  2. Nov 29, 2012
    • Oliver Sander's avatar
      A special code paths for the case dim==0 · 548acda2
      Oliver Sander authored
      The functionality of the AxisAlignedCubeGeometry class can be
      implemented particularly efficient if dim==0 (i.e. the cube is a vertex).
      Even though the case already did the right thing in that case,
      it was slower than necessary.  For each component the corresponding
      entry of the 'axes' bitfield was looked up -- even though they are
      all 'false' when dim==0.  Since 'dim' is a compile time constant
      it make sense to implement dim==0 as a special case.
      
      Hence, with this patch the AxisAlignedCubeGeometry class can be
      used to implement vertices, without any run-time penalty.
      This allow to avoid some special casing in grid implementations.
      
      [[Imported from SVN: r353]]
      548acda2
  3. Nov 13, 2012
  4. Nov 08, 2012
  5. Nov 06, 2012
  6. Oct 21, 2012
  7. Oct 18, 2012
  8. Oct 16, 2012
  9. Oct 14, 2012
  10. Oct 13, 2012
  11. Oct 12, 2012
  12. Oct 08, 2012
  13. Oct 07, 2012
  14. Oct 06, 2012
Loading