Deconstructing yield Operator to Enhance Streams Processing
The yield keyword is a well-known feature in most programming languages to pause and resume generator functions. Yet, what is the performance overhead of interleaving a yield-based operation in streams processing? In this work, we analyze the intrinsic costs of using yield on user-defined operations and we compare it with other state-of-the-art alternatives, including our proposal of a functional and minimalistic yield-based design named tinyield.