Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68700 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83560 invoked from network); 30 Aug 2013 07:08:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 07:08:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.45 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.45 mail-pa0-f45.google.com Received: from [209.85.220.45] ([209.85.220.45:61725] helo=mail-pa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/A2-64695-60540225 for ; Fri, 30 Aug 2013 03:08:55 -0400 Received: by mail-pa0-f45.google.com with SMTP id bg4so1961618pad.4 for ; Fri, 30 Aug 2013 00:08:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hG0b5/8HEhEXHXWU8DAxqMFk/OB0jGSg+C2+cQ+CUZA=; b=IinFp+oI2X6nUytlRwhtvpit9+0MLSPMvdGbmai9OIXtSQUAhViYUkwiXOJGrk6NCQ ZO7PPOQMCnQ3P+cQ0aaWwDUnTSichSPA3jCrmGSxAVjikQESHo9x/2ddk9UC8mkyzOno 7Pe1dudgsUP8GDWA39dnDHwcXGQ94ao5l6PR0lwH+lRbJFBOCTYuZ1waEpDeYPVKbL4M IzCXJ2GWMpUroO58JrtvyUPy79g2yiTVr34Ho/nG8PoTT6ahwYXLBE6YH6PcjLmFgUPW foq7a26Ql19HmofF9oQAoOnHjrmnhpx7D0v4oApuHDy96JpDpm8GvSmxiGjTHMXBBhxm RRxg== X-Gm-Message-State: ALoCoQknaSf1teUR/yD71clOdKiFkqHPZfievEwtRs5dKCVR50edt+2uPhGISsOvnS7Rrv3JpcEE MIME-Version: 1.0 X-Received: by 10.68.221.233 with SMTP id qh9mr8195926pbc.103.1377846530155; Fri, 30 Aug 2013 00:08:50 -0700 (PDT) Sender: php@golemon.com Received: by 10.70.24.33 with HTTP; Fri, 30 Aug 2013 00:08:50 -0700 (PDT) X-Originating-IP: [173.252.71.189] In-Reply-To: <5220437A.7050008@sugarcrm.com> References: <5220262A.6040702@sugarcrm.com> <5220437A.7050008@sugarcrm.com> Date: Fri, 30 Aug 2013 00:08:50 -0700 X-Google-Sender-Auth: xLHsWaUjGbsV9CvaUc3H3VCDgeU Message-ID: To: Stas Malyshev Cc: Anthony Ferrara , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=e89a8ff251780041ca04e524e5c1 Subject: Re: [PHP-DEV] [DRAFT] [RFC] Function autoloading From: pollita@php.net (Sara Golemon) --e89a8ff251780041ca04e524e5c1 Content-Type: text/plain; charset=ISO-8859-1 > If they're already namespaced, what prevents one to put it in a class > and use good old PSR-compatible loading? > > Nothing, really... Just countering your specific premise. > > Those function calls would only kick in if the function/constant wasn't > > already defined, which will be the exception case, so perf isn't a > > strong argument. > > Not according to the code I see in the patch. There I see 2 func calls > (among other things) before the hash is even looked up. > > Well, the patch needs work obviously. I'm living in a magical world where that's already been fixed. :) -Sara --e89a8ff251780041ca04e524e5c1--