Inplace Operations Code Demo - Memory vs Data Preservation
text
Inplace Operations Code Demo - Memory vs Data Preservation
In this episode, we'll demo the significance of inplace operations in code and how they contrast against out-of-place operations.
Generally speaking, an inplace operation updates its input only through replacement of elements, rather than storing the output of the operation in a new place in memory. This uses less memory but simultaneously destroys data. We'll elaborate more on this trade-off.
quiz
resources
updates
Committed by on