Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: python3-gmpy2: restore package
Date: Wed, 13 Oct 2021 20:38:13 +0200	[thread overview]
Message-ID: <20211013183813.HtUn3jxY5Ze3nAmHNbaf0utUDdulQqRf3VODu217SDs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33481@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

There's a closed pull request on the void-packages repository

python3-gmpy2: restore package
https://github.com/void-linux/void-packages/pull/33481

Description:
Upstream 2.1.0rc1 builds on python3.10.

This package is used by python3-mpmath for multiprecission arithmetic.
If not installed, mpmath defaults to python bigints which are very slow.

For example: compute 1M digits of pi using sympy:

$ isympy	# without python3-gmpy2
In [1]: %time a=pi.n(1_000_000)
CPU times: user 49.4 s, sys: 2.96 ms, total: 49.4 s
Wall time: 49.4 s

vs.

$ isympy	# with python3-gmpy2
In [1]: %time a=pi.n(1_000_000)
CPU times: user 632 ms, sys: 5.99 ms, total: 638 ms
Wall time: 639 ms

Note that just installing python3-gmpy2 brings this improvement.
Arguably python3-gmpy2 could be made a dependency of python3-mpmath.

This reverts commit f91cea99ddace872a5cdf0ae5d93fcc15b2f3191.

Also:
 - fix hostmakedepends
 - make tests work
 - adopt

  parent reply	other threads:[~2021-10-13 18:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 15:29 [PR PATCH] " tornaria
2021-10-11 15:31 ` [PR PATCH] [Updated] " tornaria
2021-10-11 15:52 ` ahesford
2021-10-11 15:57 ` [PR PATCH] [Updated] " tornaria
2021-10-11 16:01 ` tornaria
2021-10-11 18:43 ` tornaria
2021-10-11 21:00 ` [PR PATCH] [Updated] " tornaria
2021-10-12 18:57 ` ericonr
2021-10-12 19:19 ` [PR PATCH] [Updated] " tornaria
2021-10-12 19:32 ` tornaria
2021-10-12 19:52 ` ericonr
2021-10-12 20:11 ` tornaria
2021-10-13 18:38 ` ahesford [this message]
2021-10-13 18:39 ` ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211013183813.HtUn3jxY5Ze3nAmHNbaf0utUDdulQqRf3VODu217SDs@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).