- 06 Apr, 2022 1 commit
-
-
Sergey Latyshkov authored
-
- 21 Feb, 2020 8 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
- 20 Feb, 2020 2 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
-
- 14 Feb, 2020 1 commit
-
-
Ben Ramsey authored
-
- 08 Feb, 2020 5 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
- 03 Feb, 2020 9 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
This reverts commit e269c16c. This issue is fixed in slevomat/coding-standard 6.1.4. See thread at https://github.com/slevomat/coding-standard/issues/883
-
Marco Pivetta authored
-
Marco Pivetta authored
While the rule is now disabled, it still is very much valuable to import most pure functions from the core PHP scope, allowing us some marginal gains on anything that can be inlined by the engine (now or in future). The rule does not allow selective exclusions, so we will need to keep it off for now.
-
Marco Pivetta authored
Import used functions and constants via `use` statement to disallow ambiguity for compiler/static-analysis As documented in https://wiki.php.net/rfc/use_global_elements, the engine (by default) does a local namespace lookup, then falls back to global namespace when first calling a global function referenced in namespaced code, unless that function is referenced via fully qualified name (FQN). By using the FQN, the actual symbol can be looked up at compile-time, both by the PHP engine and by static analysis tooling, allowing for compiler (in particular) optimizations to replace known hot-path functions with specialized opcodes. Sadly, no actual benchmark at hand: the improvements can be minimal or massive, depending on where this library is used (tight loops being most relevant).
-
Marco Pivetta authored
-
Ben Ramsey authored
-
Ben Ramsey authored
Fixes #28
-
Ben Ramsey authored
-
- 29 Jan, 2020 5 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
- 23 Jan, 2020 1 commit
-
-
Ben Ramsey authored
[ci skip]
-
- 22 Jan, 2020 8 commits
-
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-
Ben Ramsey authored
-