Tag: performance
Generators & yield (PHP 5.5)
PHP 5.5+
Generators (PHP 5.5) use yield to produce values lazily — enabling memory-efficient iteration over large datasets without loading everything into memory.
2mo ago
php intermediate
Automatic memory management that reclaims objects no longer reachable by the program — PHP uses reference counting with a cycle collector for circular references.
3mo ago
compiler advanced
Generators allow iterating over large datasets lazily using yield, without loading everything into memory at once.
3mo ago
php intermediate
GraphQL Schema Design
PHP 7.0+
Designing GraphQL schemas that are intuitive, evolvable, and performant — with clear type hierarchies, nullable conventions, and avoiding the N+1 query problem.
3mo ago
api_design advanced
Gzip / Brotli Compression
Compressing HTTP responses server-side reduces transfer size significantly, especially for text-based assets.
3mo ago
performance beginner