Skip to content
Permalink
Branch: master
Commits on Jul 18, 2019
  1. Merge pull request #153 from howsiwei/memaccess

    Dekken committed Jul 18, 2019
    Prevent compiler warning about writing to an object with no trivial copy-assignment
Commits on Jun 27, 2019
  1. Prevent compiler warning about writing to an object with no trivial c…

    How Si Wei
    How Si Wei committed Jun 27, 2019
    …opy-assignment
Commits on Jun 4, 2019
  1. Merge pull request #152 from howsiwei/realloc

    Dekken committed Jun 4, 2019
    Prevent compiler warning about calling realloc() on an object which cannot be relocated in memory
Commits on Jun 3, 2019
  1. Prevent compiler warning about calling realloc() on an object which

    Si Wei How
    Si Wei How committed Jun 3, 2019
    cannot be relocated in memory
Commits on Jul 26, 2016
  1. Correct the memory usage claims to take into account allocator overhe…

    greg7mdp authored and donovanhide committed Jul 26, 2016
    …ad (#132)
    
    The default memory allocator used (libc_allocator_with_realloc)
    necessarily has some overhead, as the size of the block is not passed to
    free(). The memory usage claims are updated to take into account an
    overhead of up to 16 bytes per malloc'ed block.
Commits on Jul 23, 2016
  1. Merge pull request #129 from greg7mdp/master

    donovanhide committed Jul 23, 2016
    Update test for large objects with a more reasonable hash function.
  2. Update test for large objects with a more reasonable hash function.

    greg7mdp committed Jul 23, 2016
    The HashObject uses the following code in the Hash() function:
    
    ```
    size_t Hash() const {
    g_num_hashes++;
    int hashval = i_;
    for (size_t i = 0; i < Hashsize - sizeof(i_); ++i) {
    hashval += buffer_[i];
    }
    return SPARSEHASH_HASH<int>()(hashval);
    }```
    
    As you can see, when Hashsize is specified as 256, the Hash() function
    will iterate and sum 252 bytes.
    This is a big contributor to the time spent in sparse, dense and
    unordered_map tests, and I feel is unfair when comparing with the
    std::map, because the HashObject comparison function compares only the
    "i_" member:
    
    ```
    bool operator==(const class_type& that) const { return this->i_ ==
    that.i_; }
    bool operator< (const class_type& that) const { return this->i_ <
    that.i_; }
    bool operator<=(const class_type& that) const { return this->i_ <=
    that.i_; }```
  3. Merge pull request #128 from greg7mdp/master

    donovanhide committed Jul 23, 2016
    Fix missing initialization of g_num_copies and g_num_hashes
  4. Fix missing initialization of g_num_copies and g_num_hashes

    greg7mdp committed Jul 23, 2016
    When running the benchmark, the numbers of copies and hashes reported is
    constantly increasing, as the values were not reset when starting the
    test. This commit fixes this, and does not change the benchmark itself
    or reported times.
Commits on Jul 12, 2016
Commits on Mar 14, 2016
  1. Pass by const ref not copy

    Dekken committed Mar 14, 2016
Commits on Jan 16, 2016
  1. Merge pull request #119 from derkuci/master

    donovanhide committed Jan 16, 2016
    Fix the bug of endless bucket doubling when min_load_factor=0.
Commits on Dec 22, 2015
  1. Merge pull request #118 from mkn/upstream

    donovanhide committed Dec 22, 2015
    Use unordered_map instead of hash_map for Visual Studio 2013 and later
Commits on Dec 21, 2015
Commits on Dec 16, 2015
  1. Merge pull request #115 from chaoaero/master

    donovanhide committed Dec 16, 2015
    amend spelling mistakes for insert() method
  2. amend spelling mistakes for insert() method

    mengweichao
    mengweichao committed Dec 16, 2015
Commits on Oct 12, 2015
  1. Update ChangeLog

    donovanhide committed Oct 12, 2015
  2. Update ChangeLog

    donovanhide committed Oct 12, 2015
  3. Update NEWS

    donovanhide committed Oct 12, 2015
  4. Merge pull request #114 from sparsehash/issue-fixes

    donovanhide committed Oct 12, 2015
    Issue fixes
Commits on Sep 23, 2015
Commits on Aug 17, 2015
  1. Fix clang compile error

    donovanhide committed Aug 17, 2015
    Fixes  #96, #99 and #103
  2. Add gitignore

    donovanhide committed Aug 17, 2015
Commits on Feb 23, 2012
  1. Thu Feb 23 23:47:18 2012 Google Inc. <google-sparsehash@googlegroups.…

    donovanhide
    donovanhide committed Feb 23, 2012
    …com>
    
    	* sparsehash: version 2.0.2
    	* BUGFIX: Fix backwards compatibility for <google> include folders
Commits on Feb 22, 2012
  1. Updates for current autotools

    donovanhide
    donovanhide committed Feb 22, 2012
  2. Fix for issue #81

    donovanhide
    donovanhide committed Feb 22, 2012
Commits on Feb 2, 2012
  1. Fix an incorrect email address.

    csilvers
    csilvers committed Feb 2, 2012
Commits on Feb 1, 2012
  1. Updated NEWS for 2.0.1 release

    donovanhide
    donovanhide committed Feb 1, 2012
  2. Updated NEWS for 2.01 release

    donovanhide
    donovanhide committed Feb 1, 2012
  3. Wed Feb 01 02:57:48 2012 Google Inc. <google-sparsehash@googlegroups.…

    donovanhide
    donovanhide committed Feb 1, 2012
    …com>
    
    	* sparsehash: version 2.0.1
    	* BUGFIX: Fix path to malloc_extension.h in time_hash_map.cc
  4. * sparsehash: version 2.01

    donovanhide
    donovanhide committed Feb 1, 2012
    * Fix path to malloc_extension.h in time_hash_map.cc
Older
You can’t perform that action at this time.