From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wDzXJioWGF/eTwAA0tVLHw (envelope-from ) for ; Wed, 22 Jul 2020 10:34:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aEiqIioWGF+7FgAAB5/wlQ (envelope-from ) for ; Wed, 22 Jul 2020 10:34:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 625F39403E7 for ; Wed, 22 Jul 2020 10:34:18 +0000 (UTC) Received: from localhost ([::1]:50628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyC4n-000556-0n for larch@yhetil.org; Wed, 22 Jul 2020 06:34:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyC4d-00054H-RK for guix-devel@gnu.org; Wed, 22 Jul 2020 06:34:07 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:36422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyC4c-0000h6-CX for guix-devel@gnu.org; Wed, 22 Jul 2020 06:34:07 -0400 Received: by mail-wr1-x429.google.com with SMTP id 88so1396596wrh.3 for ; Wed, 22 Jul 2020 03:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=N0HMjOd7YnPVaePzKX+DQe5P3Kx592TpytrtfL+WINs=; b=o+mH78aWshWuHf2iKDbIyusH98RqE4ZYoQQVzmN5Y8MBu9UUgKeDUT98jaEcvSHWYG FZUooajBmcXb8uKY6tmSOc0t3QC2yyhG4/rR0OYFHCEbYGAvsdKTq9wMVhtp54Dref2i 240iwhwIFutcu+L1oG8pIj6h05A7yMk2Kxv5IZU5iXpD2jiapMY/puN8sBJEbLNYYQyT gJOKkKvGVBBK21eszMYk/ylGpEtT+cR+HExNMn1JfEgmkHyUmSyfEsk8QCQSUiKVSzeS SRCfoJidvjoul2jp4yomb2PKOXh4Rlnrq6+ADwG+2oSoRd5wUl0cm5I86FuAZCm4B46I 6COw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=N0HMjOd7YnPVaePzKX+DQe5P3Kx592TpytrtfL+WINs=; b=p8vfZraNp0BYpv8M7azI831tzDf8/Ayu686lCkUSqCmChOaAevj/0rX8lvA+oFpIkK 4wSq8Xw/XuUpsA/P1Qny5Enowq2k4mquwwiv3ULdAISqPpGUrgzfV5CNq1IlzPe6WeKS rYVRgMcMdrmXNBFh8tmZwAyvFk+VMXCDSPHkE9IilQ4RkU0LNRWSigiONjHbKxpFql8c pPn7sN4hO0jT52kAmlnUIDnTea0tsH8z2AheMMsBb4SWYEn755glj8oJl5YvnNOYWj0r 3LNk+fv4smWZhak680u75zZGpXwV1PikaL1oOWkxrCmxlP/vfYVMDafqeDb5vbaNFGaO HSIA== X-Gm-Message-State: AOAM533RtoKrSSVG+6JYHCCS0HGJ042Eo8m/9TNfvXbpOZ0UParoDzLt B0JFuMCtqc1VtMReUv9ZlOtIinLv X-Google-Smtp-Source: ABdhPJxFBxH9OEhgU5y907qcJX75zoSdwhUuHhKbA7xO1/Swv3kYPHH920zilVTx3aPiZ8HloMTAlw== X-Received: by 2002:adf:fac8:: with SMTP id a8mr30407511wrs.368.1595414044475; Wed, 22 Jul 2020 03:34:04 -0700 (PDT) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id c7sm42385484wrq.58.2020.07.22.03.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 03:34:04 -0700 (PDT) From: zimoun To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= , Lars-Dominik Braun Subject: Re: [Python] pypy3 integration In-Reply-To: <20200720194254.tiolat2ohihsbgu5@gravity> References: <20200719082714.GB1359@noor.fritz.box> <20200720194254.tiolat2ohihsbgu5@gravity> Date: Wed, 22 Jul 2020 12:34:02 +0200 Message-ID: <86lfjb2605.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=o+mH78aW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: FbBEuyUsJgIK Dear, On Mon, 20 Jul 2020 at 21:42, Jakub K=C4=85dzio=C5=82ka wrote: > ~$ genv --pure --ad-hoc pypy3 python-sympy python -- pypy3 > Python 3.6.9 (?, Jan 01 1970, 00:00:00) > [PyPy 7.3.1 with GCC 7.5.0] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>>> import sympy >>>>> sympy.isprime(694201337) > True > Does it work in all situations? Other said, the package python-sympy is =E2=80=9Ccompiled=E2=80=9D with CPy= thon and then used with pypy. Moreover, CPython and PyPy are not the same VM, so not the same optimizations and therefore I am not sure that the performances of your trick vs an hypothetical pypy-sympy would be the same. All the best, simon