Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93301 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45082 invoked from network); 13 May 2016 01:28:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2016 01:28:06 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.173 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.173 mail-io0-f173.google.com Received: from [209.85.223.173] ([209.85.223.173:33051] helo=mail-io0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/EA-28272-4AD25375 for ; Thu, 12 May 2016 21:28:05 -0400 Received: by mail-io0-f173.google.com with SMTP id f89so115433608ioi.0 for ; Thu, 12 May 2016 18:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=yW7mjnnc9g2YT+91+/ByZwxqEyDgV23I3s5ROXGmNcE=; b=DQoeTR75dNdhUJNuKJ8d45CB3qcl+bAaUmn4EF0L7ASd2L5t5vXudFskqwyGS1RBxA jyGtvcKMevtcJpoVDCX8gGt6fF5gzUTA3xoDhoWrvStRznPO4pkpF+/GXD8Bt2L0qLie y2iFxdxmhLxfaf30ob7oRz2Ayvp8XQmGaIjNamfRZ4/OKtg8NJIX5R3h1iO66AioQ3C1 4Ia5/1MIpk6i15eV4eioZBC8wiS9oyknfv+GBrsUgc2fE6mGuyo+hP4HJC3DoHw3udlD Od0CWWb+ZcyzhaiDJFoJAa9GjhsSyKglIAioo1g64b8i7uhMQSP6PM53FfMRsb1Ko3fz pRTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yW7mjnnc9g2YT+91+/ByZwxqEyDgV23I3s5ROXGmNcE=; b=bTeuYeNd2/h2OivmonmPqwG+7KgFKSxc2Tp1pkXecTQfOdlNldj2dndz4ZFGf56z9t ielvrE/4BtkJgy9hhtQ/eNzrhCJSbVzjf5TOYusvTuC3J/YH+Fa6PAx96W6OdfyvVkct fmbey3l0smE48Js3FyPmPj2q043kLvrW/HOleZZIZ6EzHGbCmYp9v9aN6uAiAOxkVG/S ciTjPyC6c1DdV4VxiYeb+uuCvD4pdAgoHA80vLHTiHyG3LfadXQ1lvf8cCgaDXDKGtzo sAleVN3Qhr87Uj7wp5es0ZOjy+511wMBDVHXhMTghbjc6zIebAFi38JFw2nmWdby8Ri6 oTOA== X-Gm-Message-State: AOPr4FUVxY8uy5DB1UfTTghlXo+tIPXahm1KT7wXOI+DpuOvdbMCNjP5woJFfmB1O/7Oass7oeSneEUF6FGx4Q== X-Received: by 10.107.31.146 with SMTP id f140mr10194950iof.180.1463102882563; Thu, 12 May 2016 18:28:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.70.162 with HTTP; Thu, 12 May 2016 18:27:43 -0700 (PDT) Date: Thu, 12 May 2016 21:27:43 -0400 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a1140b64895d3ce0532af2fb5 Subject: Assess acceptability of having php-ds into core From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a1140b64895d3ce0532af2fb5 Content-Type: text/plain; charset=UTF-8 Hi internals, PHP 7 leverages a lot the performance internally and many PHP applications in the wild. Much of these improvement came by experimentation through PHPNG and the usage of efficient data structures internally. This idea of performance improvements are crucial to handle more requests, reduce server overload, etc. However, what lacks in PHP is the exposure of more efficient, use case specific data structures, that could allow end users to easily improve performance of their applications, instead of using a general, multi-purpose data structure that we have as "array". Based on that (please keep in mind I haven't spoken with library author), I'd like assess the receptability of incorporating php-ds library into core. Library author wrote a good (and lengthy) article explaining his motivation and performance benchmarks around it. Here are the related links: Article: https://medium.com/@rtheunissen/efficient-data-structures-for-php-7-9dda7af674cd Extension: https://github.com/php-ds/extension Polyfill: https://github.com/php-ds/polyfill Tests: https://github.com/php-ds/tests Benchmark: https://github.com/php-ds/benchmarks Best regards, -- Guilherme Blanco Lead Architect at E-Block --001a1140b64895d3ce0532af2fb5--