Tagged articles
4 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Jul 22, 2025 · Big Data

Master Memory‑Efficient Techniques for Processing Massive Files in Python

This guide explains how to read and process files that exceed available memory by using line‑by‑line iteration, chunked reads, memory‑mapped files, generators, streaming decompression, parallel execution, and specialized libraries such as Dask and PyTables, while providing practical code examples and performance tips.

data-processinglarge filesmemory-efficient
0 likes · 9 min read
Master Memory‑Efficient Techniques for Processing Massive Files in Python
php Courses
php Courses
Nov 1, 2023 · Backend Development

Understanding PHP Generator Functions: Syntax, Use Cases, and Examples

This article explains PHP generator functions, covering their purpose for memory‑efficient data iteration, streaming, and asynchronous tasks, detailing their syntax with the yield statement, providing multiple code examples, outlining advantages, usage notes, and concluding with best‑practice recommendations.

AsynchronousYielditeration
0 likes · 5 min read
Understanding PHP Generator Functions: Syntax, Use Cases, and Examples
php Courses
php Courses
Dec 9, 2020 · Backend Development

Understanding PHP Generators and the yield Keyword

This article explains PHP's Generator feature introduced in version 5.5, demonstrating how the yield keyword enables memory‑efficient iteration, how to implement custom xrange functions, and how to control generators with methods like next, current, valid, send, rewind, and throw.

IteratorYieldgenerator
0 likes · 6 min read
Understanding PHP Generators and the yield Keyword