Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93391 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70584 invoked from network); 18 May 2016 04:10:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2016 04:10:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=jesseschalken@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jesseschalken@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.179 as permitted sender) X-PHP-List-Original-Sender: jesseschalken@gmail.com X-Host-Fingerprint: 209.85.223.179 mail-io0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:33503] helo=mail-io0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/08-11000-62BEB375 for ; Wed, 18 May 2016 00:10:16 -0400 Received: by mail-io0-f179.google.com with SMTP id f89so50092539ioi.0 for ; Tue, 17 May 2016 21:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=25YsMWCY5C3vFq7ih1Ey7RQjFKZVjE5JJcgliu2+gZM=; b=KZ5MK29QXxY4E2e4qKtGLtzeMCzgh4Hxb8hpJ8JFvvKvORjs7tCEca7uDm6P+KvFnp hm3mnievUhLrWG128xJioWCVthNoYmNoobbHVGjqUphNt33b+RzGR5WZIdcjgEMCEp3g kDZhPo/B3Ve1HRbzapBcyIkesLdmjX2YKrCeVJn3Q2p8pm2MAtVur5iHqnUGi/GqSqhu Exr33vhtOi1GK+1G5qZKXhrwkfIwF22BZG0uRuQUjp7BU4U8/XGczY5g0EvN4GzjKfyu KcW5gYWnSnPGS+kviirMjzz0YuhBaOxu9+v5ejAksRsGbYmNAT0cIjYP2tfxFrXsi5jV 6guw== 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; bh=25YsMWCY5C3vFq7ih1Ey7RQjFKZVjE5JJcgliu2+gZM=; b=Vb5vwabWXXfbKFm7RLvOq0kOogg/bWuBoMYa3gNdJDPYrM/4xtTqevztH1sBEEst5I K+sqJ6ZMbh71lvEdvKmityRWAvdnkLzxaXjffu3nMefdJuMlcc8xrWix8vYLLrzGONfN yx9PELo7uEYAcG5eYcv/H1zg/eQk33JdTUX6FZX8OO346TyB9eacyVyxI3wncyvsPH0K MnCBEUMi8gF/7TUfa9ohV8X0XgsnS8wO99xz/KD0GUZJ+JP4/l5FjPWH14z4iAuAiEzq OTZ/5f15BOHoF5yvPck6NOVTzNJ4WdNfn7vSQux6Qdgj6EdqBzediAHO/dQRTOqZXoYi ocCQ== X-Gm-Message-State: AOPr4FXdey8fCxfTwRRrlch3JCvnzXIKlE3YZv54OURDReed/K/dDFkoQAp0OMhnWH8S7kfjKjxigktCtp0uAQ== MIME-Version: 1.0 X-Received: by 10.36.208.84 with SMTP id m81mr1113402itg.56.1463544612129; Tue, 17 May 2016 21:10:12 -0700 (PDT) Sender: jesseschalken@gmail.com Received: by 10.79.139.197 with HTTP; Tue, 17 May 2016 21:10:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 May 2016 14:10:12 +1000 X-Google-Sender-Auth: KQHt5Y1ynr_iAQcg-P_weEPqDPM Message-ID: To: Sara Golemon Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=001a1149e0a8b817770533160882 Subject: Re: [PHP-DEV] Do symbol references always go through a hash table? From: me@jesseschalken.com (Jesse Schalken) --001a1149e0a8b817770533160882 Content-Type: text/plain; charset=UTF-8 On Wed, May 18, 2016 at 1:06 PM, Sara Golemon wrote: > Yes, but that doesn't mean you should micro-optimize around it. Just > write code that's easy to maintain and trust the compiler to do the > best job at making it not-slow. :) > > Do you happen to know whether or not HHVM does a better job in the case of a function being called repeatedly with different implementations of a class/interface? I don't optimised prematurely, but if I've got performance problems today and getting a more sophisticated compiler/runtime isn't an option, and I can't work around it by some other means then I don't really have a choice. --001a1149e0a8b817770533160882--