OpenSource For You

Compute and storage

-

Generators help in processing collection­s or streaming of data, without the need to collect all data. They allow incrementa­l processing as well as lazy evaluation, unfortunat­ely. Lazy evaluation is related to functional programmin­g and is beyond the scope of this article. Programmin­g using generators is preferred when compute is cheaper than storage.

Newspapers in English

Newspapers from India