Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43352 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68482 invoked from network); 15 Mar 2009 16:22:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2009 16:22:13 -0000 Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 209.151.69.1 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.151.69.1 liberty.vosn.net Linux 2.4/2.6 Received: from [209.151.69.1] ([209.151.69.1:48726] helo=liberty.vosn.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/BF-06903-43B2DB94 for ; Sun, 15 Mar 2009 11:22:12 -0500 Received: from 72-161-148-24.dyn.centurytel.net ([72.161.148.24]:54880 helo=pc1) by liberty.vosn.net with smtp (Exim 4.69) (envelope-from ) id 1Lit6G-0003Sl-UY; Sun, 15 Mar 2009 10:22:09 -0600 Message-ID: <3B33483EE2074F84B5969CC101A6ACCA@pc1> To: Cc: "Dmitry Stogov" Date: Sun, 15 Mar 2009 11:22:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - liberty.vosn.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - realplain.com Subject: [PATCH] Remove nTableSize from HashTable? From: php_lists@realplain.com ("Matt Wilmas") Hi Dmitry, all, Just a quick one... ;^) Is there much, if any, advantage to removing the HashTable member nTableSize? It's just nTableMask + 1, so it can be derived easily in the couple places that need it... Figured it can't hurt to make things smaller, and it only adds a couple addition operations for resizing, basically. :-) Patches if you want the change (or tell me to commit): http://realplain.com/php/tablesize.diff http://realplain.com/php/tablesize_5_3.diff - Matt