357b199aae1e202030c3d5fe32ebc1318d7a3179,benchmark/b_bit_minhash_benchmark.py,,_run_minhash,#Any#Any#Any#Any#Any#Any#,13

Before Change


    for i in xrange(a_start, a_end):
        m1.digest(Hash(hasher(data[i], seed=seed)))
    for i in xrange(b_start, b_end):
        m2.digest(Hash(hasher(data[i], seed=seed)))
    return [m1.jaccard(m2)] + \
            [_b_bit_minhash_jaccard(m1, m2, b) for b in bs]

After Change


    for i in xrange(a_start, a_end):
        m1.update(hasher(data[i], seed=seed))
    for i in xrange(b_start, b_end):
        m2.update(hasher(data[i], seed=seed))
    return [m1.jaccard(m2)] + \
            [_b_bit_minhash_jaccard(m1, m2, b) for b in bs]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/b_bit_minhash_benchmark.py
Class Name:
Method Name: _run_minhash


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/similarity_benchmark.py
Class Name:
Method Name: _run_hyperloglog


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/cardinality_benchmark.py
Class Name:
Method Name: _run_hyperloglog


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/inclusion_benchmark.py
Class Name:
Method Name: _run_hyperloglog


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/similarity_benchmark.py
Class Name:
Method Name: _run_minhash


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/inclusion_benchmark.py
Class Name:
Method Name: _run_minhash


Project Name: ekzhu/datasketch
Commit Name: 357b199aae1e202030c3d5fe32ebc1318d7a3179
Time: 2016-03-18
Author: erkangzhu@gmail.com
File Name: benchmark/cardinality_benchmark.py
Class Name:
Method Name: _run_minhash