Oh, that'd just be a NewThing() constructor. The ThingFactory() can probably take an argument specifying which implementation you need. It's almost always just a small function holding a conditional chain that you don't…
> In fact, a few optimizations only work if you're using scalar types for parameters This is the first time PHP has used typehints for optimization, isn't it? It was all safety checks prior to now. Looking forward to…
The debugging slows the code down a ton in my experience, and it also prevents futures from running in parallel. Trying out the futures code from the guide, failing to disable debugging slows down the final Mandelbrot…
Oh, that'd just be a NewThing() constructor. The ThingFactory() can probably take an argument specifying which implementation you need. It's almost always just a small function holding a conditional chain that you don't…
> In fact, a few optimizations only work if you're using scalar types for parameters This is the first time PHP has used typehints for optimization, isn't it? It was all safety checks prior to now. Looking forward to…
The debugging slows the code down a ton in my experience, and it also prevents futures from running in parallel. Trying out the futures code from the guide, failing to disable debugging slows down the final Mandelbrot…