Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75911 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29165 invoked from network); 22 Jul 2014 22:48:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2014 22:48:43 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:33974] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/69-21666-B4AEEC35 for ; Tue, 22 Jul 2014 18:48:43 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 460822400E2; Tue, 22 Jul 2014 18:48:41 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4S5Si7_dmAD0; Tue, 22 Jul 2014 18:48:41 -0400 (EDT) Received: from [192.168.0.15] (unknown [90.210.122.167]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 776F824005D; Tue, 22 Jul 2014 18:48:33 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: <53CEE90B.9030603@mabe.berlin> Date: Tue, 22 Jul 2014 23:48:29 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <53CEC194.5090307@marc-bennewitz.de> <53CEC7B5.6090502@gmail.com> <93E1CC84-5CCC-4964-83BC-44E6C136B831@ajf.me> <53CEE90B.9030603@mabe.berlin> To: Marc Bennewitz X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] unsigned integer From: ajf@ajf.me (Andrea Faulds) On 22 Jul 2014, at 23:43, Marc Bennewitz wrote: > You have added the new type internally only. Does it make sense or = would > it be possible to use one more internal type like "ULONG" to safe > mem/cpu in such cases because bigint/GMP objects are used only on much > higher numbers? You *could* do that, yes, but considering the massive effort needed just = to implement bigints, I don=92t see the point. It=92d also mean we=92d = have three different integer types and four different numeric types if = bigints pass, which is even more work for people handling ovals. -- Andrea Faulds http://ajf.me/