Tag

Speedup

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2024 · Fundamentals

Simple Techniques to Accelerate Python for‑loops (1.3× to 970× Speedup)

This article presents a collection of practical Python techniques—such as list comprehensions, pre‑computing lengths, using sets, skipping irrelevant iterations, inlining functions, generators, map, memoization, vectorization, filterfalse, and join—that together can boost for‑loop performance anywhere from 1.3‑fold up to nearly a thousand times, with concrete code examples and benchmark results.

PerformancePythonSpeedup
0 likes · 16 min read
Simple Techniques to Accelerate Python for‑loops (1.3× to 970× Speedup)
Python Programming Learning Circle
Python Programming Learning Circle
Jan 20, 2024 · Fundamentals

Four Time‑Saving Python Tricks to Speed Up Your Code

This article presents four practical Python performance tricks—including list reversal, tuple swapping, in‑function looping, and reducing function calls—that can shave 10–20% off execution time while keeping the code concise and readable.

PerformancePythonSpeedup
0 likes · 5 min read
Four Time‑Saving Python Tricks to Speed Up Your Code
Architects' Tech Alliance
Architects' Tech Alliance
Feb 12, 2021 · Fundamentals

Understanding Serial and Parallel Computing and Their Speedup Limits

This article explains the concepts of serial and parallel computing, describes how parallelism divides tasks across multiple processors, discusses speedup metrics and Amdahl's law, and highlights practical limits of multi‑core performance in modern computer architectures.

Amdahl's lawComputer ArchitectureMulti-core
0 likes · 4 min read
Understanding Serial and Parallel Computing and Their Speedup Limits