Skip to content
Snippets Groups Projects
  1. Mar 04, 2009
    • Mark Olesen's avatar
      Merge commit 'OpenCFD/master' into olesenm · 1a2bcf7d
      Mark Olesen authored
      1a2bcf7d
    • Mark Olesen's avatar
      HashTable minor/cosmetic changes · 9b8de83a
      Mark Olesen authored
      9b8de83a
    • Mark Olesen's avatar
      Switched from old hashing functions to use Bob Jenkins' hash routine · 17548296
      Mark Olesen authored
      - If the underlying type is contiguous, FixedList hashes its storage directly.
      - Drop labelPairHash (non-commutative) from fvMeshDistribute since
        FixedList::Hash does the right thing anyhow.
      - Hash<edge> specialization is commutative, without multiplication.
      - Hash<triFace> specialization kept multiplication (but now uLabel).
        There's not much point optimizing it, since it's not used much anyhow.
      
      Misc. changes
      
      - added StaticAssert to NamedEnum.H
      - label.H / uLabel.H : define FOAM_LABEL_MAX, FOAM_ULABEL_MAX with the
        values finally used for the storage.  These can be useful for pre-processor
        checks elsewhere (although I stopped needing them in the meantime).
      17548296
  2. Mar 02, 2009
    • Mark Olesen's avatar
      Added Jenkin's hash functions in C++ form · 44a86232
      Mark Olesen authored
      - not much speed difference between SuperFastHash and Jenkin's lookup3 but
        both are 5-10% faster than what is currently implemented in Foam::string,
        albeit inlining probably helps there.
      
      - TODO: integration with existing infrastructure
      44a86232
  3. Mar 01, 2009
  4. Feb 27, 2009
  5. Feb 26, 2009
  6. Feb 25, 2009
  7. Feb 24, 2009