Hi Graham, Simple things first:
On Fri, Jun 5, 2009 at 1:08 AM, Graham Kelly <grah...@facebook.com> wrote: > I'm not sure which optimization you are talking about with the GLOBALS stuff > but what your saying makes sense. (Its been awhile since I've looked at the > code base myself, I'm just getting back to working on it) I copied that comment straight from the source, but I can't find it now that I went looking for it. No matter. > Why not start off with the big stuff, dataflow. I personally believe that > working out good data flow for PHP is key to getting good optimizations. But > you are right, its a very tricky thing to do and in some cases impossible. > Ultimately, I would like to move a lot of the optimizer work more into this > direction and use the data flow to build a basic platform for code analysis > on which optimizations can be done. For now though, pecl/optimizer is "dumb" > about data types :-) And now the hard stuff. To avoid me repeating myself, let me just pimp my Tech Talk. Have a look at http://www.youtube.com/watch?v=kKySEUrP7LA from about the 30:45 mark until just before the 47:00 mark (slides at https://www.cs.tcd.ie/~pbiggar/paul_biggar_google_18_mar_2009_notes.pdf). That highlights most of the problems, and vaguely hints at their solution. We can go into much greater detail on the solutions after. Thanks, Paul -- Paul Biggar paul.big...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php