Tag

Copying

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Feb 29, 2024 · Fundamentals

Understanding Shallow Copy in Python: Explanation, Use Cases, and Code Examples

This article explains the concept of shallow copy in Python, contrasts it with deep copy, outlines ten practical scenarios such as parameter passing, data backup, error recovery, and parallel processing, and provides a comprehensive code example demonstrating how to use the list .copy() method in each case.

CopyingData StructuresPython
0 likes · 5 min read
Understanding Shallow Copy in Python: Explanation, Use Cases, and Code Examples
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 23, 2022 · Fundamentals

Four JVM Garbage Collection Algorithms Explained

This article introduces the four main JVM garbage collection algorithms—Mark‑Sweep, Copying, Mark‑Compact, and Generational collection—explaining their mechanisms, suitable scenarios, advantages, and drawbacks, and summarizing how they are applied to young and old generations in modern Java virtual machines.

CopyingGarbage CollectionGenerational GC
0 likes · 7 min read
Four JVM Garbage Collection Algorithms Explained