simon-git: spigot (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon Feb 13 20:55:06 GMT 2017
TL;DR:
282c406 Move constructor and move assignment for GMP bigints.
b09e30b Make Core::endpoints() write to an existing vector.
Repository: https://git.tartarus.org/simon/spigot.git
On the web: https://git.tartarus.org/?p=simon/spigot.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2017-02-13 20:55:06
commit 282c4068a25d3e289f41ec7a3b4579f6c8791d68
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=282c4068a25d3e289f41ec7a3b4579f6c8791d68;hp=7229b071e6f96373478a8664f672efca4010b78c
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Feb 13 20:08:41 2017 +0000
Move constructor and move assignment for GMP bigints.
Now we're always compiling in post-C++11 mode, I can write these and
they can be automatically applied where possible, which should improve
performance a little by preventing pointless copies of mpz_t that were
only going to be deallocated again immediately afterwards.
bi_gmp.h | 2 ++
1 file changed, 2 insertions(+)
commit b09e30be15772b60da96d8f9d394ddacfde46ed0
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=b09e30be15772b60da96d8f9d394ddacfde46ed0;hp=282c4068a25d3e289f41ec7a3b4579f6c8791d68
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Feb 13 20:10:02 2017 +0000
Make Core::endpoints() write to an existing vector.
This seems a little faster than having it return a new vector every
time it's called.
arithmetic.cpp | 18 +++++++++---------
spigot.cpp | 9 ++++-----
spigot.h | 2 +-
3 files changed, 14 insertions(+), 15 deletions(-)
More information about the tartarus-commits
mailing list