These are chat archives for symengine/symengine
symengine/*, so we just need to look at how other libraries handle this problem. I think we can use it without
symenginein our tests, that's one solution.
srcfolder, but a folder named
ginac. And then the header would be in
std::pairbeing immutable we used our own pair
rehash, hashes the table in the start, but here 10000 is done just for the benchmark
find()and then an
insert()you are computing the hash twice
insert()in smaller steps
insert()in which the bucket index is passed so you avoid recalculating it
_bucketto comput the destination bucket
_findto locate the element in
multiply_accumulate, as you are already doing
Cin a specific order
Bare ordered according to the bucket they would occupy were they to be inserted in
A(after the sorting above has been done) and the first
B, and you have your first block
rehash(10000)because you already know the result is about 6000 terms
sudois required only to install libraries via,
apt-get. Once this issue is closed, travis-ci/travis-ci#4113, we can move to docker based infrastructure
sudoin docker. That's why there were failures in your repo. Only the container-based infrastructure can use
sudo. We are trying to shift to docker because it is faster and has less queues.
sudo:truewas implied. For your fork, you had to add
sudo:falsewas the default
sudo: falsewould be enough, but to do that we need those packages white listed.
sudo: truefor now, so that tests work on forks as well?
expand2bbenchmark slow down on my branch