1. 12 Mar, 2009 2 commits
  2. 10 Mar, 2009 3 commits
  3. 06 Mar, 2009 1 commit
  4. 05 Mar, 2009 1 commit
    • Mark Olesen's avatar
      regIOobject, Hasher, IOobject tweak · 7544164d
      Mark Olesen authored
      - regIOobject: don't re-register an unregister object on rename/assignment
      - Hasher: split-off HasherInt with uint32_t specializations
      - IOobject: writeBanner/writeDivider return Stream for easier chaining.
      
      ... also dropped some namespace bracketing while I was at it.
      7544164d
  5. 04 Mar, 2009 4 commits
    • Mark Olesen's avatar
      96118536
    • mattijs's avatar
      error message · 8de54d3b
      mattijs authored
      8de54d3b
    • 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
  6. 02 Mar, 2009 1 commit
    • 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
  7. 01 Mar, 2009 2 commits
  8. 27 Feb, 2009 5 commits
  9. 26 Feb, 2009 2 commits
    • Mark Olesen's avatar
      HashTable changes · a46c85f5
      Mark Olesen authored
      - make table power-of-two, but since it seems to give 1-2% performance
        improvement, maybe forget it too.
      
      - remove two-argument form of hashing classes and do the modulus direclty
        within HashTable instead. This simplifies things a fair bit.
      
      - migrate Hash<void*> from db/dlLibrary to primitives/hashes/Hash
      a46c85f5
    • Mark Olesen's avatar
      PackedList bugfix, HashTable tweak · 2aeee852
      Mark Olesen authored
      - it was possible to create a PackedList::iterator from a
        PackedList::const_iterator and violate const-ness
      
      - added HashTable::printInfo for emitting some information
      
      - changed default table sizes from 100 -> 128 in preparation for future
        2^n table sizes
      2aeee852
  10. 25 Feb, 2009 4 commits
  11. 24 Feb, 2009 1 commit
  12. 19 Feb, 2009 1 commit
  13. 18 Feb, 2009 1 commit
    • Mark Olesen's avatar
      use while (runTime.loop() { .. } where possible in solvers · 4b60453c
      Mark Olesen authored
      - change system/controlDict to use functions {..} instead of functions (..);
        * This is internally more efficient
      - fixed formatting of system/controlDict functions entry
      
      - pedantic change: use 'return 0' instead of 'return(0)' in the applications,
        since return is a C/C++ keyword, not a function.
      4b60453c
  14. 17 Feb, 2009 2 commits
  15. 15 Feb, 2009 1 commit
  16. 13 Feb, 2009 3 commits
  17. 12 Feb, 2009 3 commits
  18. 11 Feb, 2009 1 commit
  19. 10 Feb, 2009 2 commits