Compute and stor­age

OpenSource For You - - DEVELOPERS -

Gen­er­a­tors help in pro­cess­ing col­lec­tions or stream­ing of data, with­out the need to col­lect all data. They al­low in­cre­men­tal pro­cess­ing as well as lazy eval­u­a­tion, un­for­tu­nately. Lazy eval­u­a­tion is re­lated to func­tional pro­gram­ming and is be­yond the scope of this ar­ti­cle. Pro­gram­ming us­ing gen­er­a­tors is pre­ferred when compute is cheaper than stor­age.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.