Tagged articles
5 articles
Page 1 of 1
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.

Code ProfilingLoop OptimizationPython
0 likes · 16 min read
Simple Techniques to Accelerate Python for‑loops (1.3× to 970× Speedup)
ITPUB
ITPUB
Sep 25, 2020 · Operations

How to Speed Up GitHub Access: Mirrors, CDN, Hosts Hacks and More

This guide presents nine practical methods to accelerate GitHub access—including mirror sites, Cloudflare Workers proxies, raw file CDN replacements, JsDelivr usage, Gitee fork transfers, and manual hosts file edits—complete with URLs, step‑by‑step instructions, and illustrative screenshots.

CDNDevOpsGitHub
0 likes · 7 min read
How to Speed Up GitHub Access: Mirrors, CDN, Hosts Hacks and More
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2019 · Fundamentals

Boost Python Performance: 24 Proven Techniques to Speed Up Code

This guide presents 24 practical methods—including timing measurements, faster data structures, loop optimizations, vectorization, and parallel processing—to dramatically accelerate Python code, each illustrated with clear before‑and‑after performance screenshots.

BenchmarkingParallelismProfiling
0 likes · 7 min read
Boost Python Performance: 24 Proven Techniques to Speed Up Code