Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122686 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id EEA0C1AD8F6 for ; Tue, 19 Mar 2024 13:11:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1710853916; bh=L45yflVDQ5cmMbQjY3PYDfu0UNYunjwdD8e3kvHAFvg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=VPE+aGuZr55ODJactFe91cCASfXma0rWa1itjJxuvJVqPA1fjeNI+bJi5v50icMdd H8ewl7IG/eDoFja8qlamMVS8SWBv+is7tdjkWnSwT3o9I+EoGyQqRN4LLV5TnSVw0z RF4F7wrTezaQotSDaZJiEm5h76VqH7JD86Uggg5bpmn6rIJlEkzxsToAI9NGt7ya0f yLTlIjArS9zg1aKPPnnrxgdx2QxI8vcGs0B6MI8dkzY/kTffwyzw21FhY3M1vWf0T8 WlhiDYqFNPTTOwCh9X1O7swmgha5+1wzdzykUBMN6729H9qIO6SYr0OdB4j9YxrNSE RHq1KsCVmClVQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 44458180078 for ; Tue, 19 Mar 2024 13:11:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_PASS, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 19 Mar 2024 13:11:54 +0000 (UTC) Received: from smtpclient.apple (unknown [117.55.37.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id B7F534012F; Tue, 19 Mar 2024 22:11:30 +0900 (JST) Content-Type: text/plain; charset=us-ascii Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: [PHP-DEV] Supporting object types in BCMath In-Reply-To: Date: Tue, 19 Mar 2024 22:11:14 +0900 Cc: Barney Laurance , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <5685E98F-6CD1-48A7-BCFD-5638980C8129@sakiot.com> References: <09F87F91-6538-48D2-9E34-0296E02CCC1A@sakiot.com> <7FC4C53E-BDA1-40DA-BFE3-EE068C63444F@sakiot.com> To: Jordan LeDoux X-Mailer: Apple Mail (2.3731.700.6) From: saki@sakiot.com (Saki Takamachi) Hi Jordan, > I've done a lot of performance tuning on my arbitrary precision = library, and will simply state for everyone here that I think the amount = of development effort involved in improving performance of the BCMath = library is almost certainly going to see a return on your effort that is = not worth it. There have been discussions over the last year on possibly = working on bundling a new arbitrary precision C library and providing = something that is performant enough to be generally useful in core, but = that's not even at the RFC stage, just investigations. >=20 > I wouldn't say that improving BCMath is a waste of time, but there is = also probably lower hanging fruit once you get past things like Saki has = here. DevEx improvements. BCMath is slow, but currently no other extension can replace it in terms = of computational accuracy. Therefore, I would like to advance these = proposals with the aim of improving usability rather than improving = performance. Since we have already completed the implementation of the important = processes when creating the prototype, we will start preparing the RFC. Regards. Saki=