Improve clarity and fix typos in need_for_speed lecture#523
Merged
Conversation
Fix typos (oursives, stray "for", missing period, "in" vs "is") and rewrite the parallelization and hardware accelerator sections for precision: sharpen multiprocessing vs multithreading distinction, add concrete examples, explain what a "core" is, and streamline GPU coverage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
What we changed and whyThis PR improves the Typo fixes:
Parallelization section rewrite:
Hardware accelerators rewrite:
|
Contributor
✅ Translation sync completed (zh-cn)Target repo: QuantEcon/lecture-python-programming.zh-cn
|
Contributor
✅ Translation sync completed (fa)Target repo: QuantEcon/lecture-python-programming.fa
|
mmcky
added a commit
to QuantEcon/lecture-python-programming.fa
that referenced
this pull request
Apr 13, 2026
…lecture Syncs translation of lectures/need_for_speed.md with upstream source PR #523. Changes include: - Restructure 'Pure Python is slow' → 'Why is Pure Python Slow?' with new subsections - Rewrite 'Why do we need them?' section (two reasons: Python is small, Python is slow) - Add three acceleration strategies (vectorization, JIT, parallelization) - Restructure parallelization section (multithreading before multiprocessing) - Rewrite multiprocessing/multithreading definitions correctly - Consolidate GPU/TPU sections into simpler structure - Remove redundant subsections and blank lines - Various wording improvements throughout Source: QuantEcon/lecture-python-programming#523
mmcky
added a commit
to QuantEcon/lecture-python-programming.fa
that referenced
this pull request
Apr 13, 2026
…lecture (#102) * 🌐 [translation-sync] Improve clarity and fix typos in need_for_speed lecture Syncs translation of lectures/need_for_speed.md with upstream source PR #523. Changes include: - Restructure 'Pure Python is slow' → 'Why is Pure Python Slow?' with new subsections - Rewrite 'Why do we need them?' section (two reasons: Python is small, Python is slow) - Add three acceleration strategies (vectorization, JIT, parallelization) - Restructure parallelization section (multithreading before multiprocessing) - Rewrite multiprocessing/multithreading definitions correctly - Consolidate GPU/TPU sections into simpler structure - Remove redundant subsections and blank lines - Various wording improvements throughout Source: QuantEcon/lecture-python-programming#523 * chore: re-trigger CI after body format fix * fix: correct inverted meaning in translation ('هرگز' → 'تنها') The word 'هرگز' (never) inverted the meaning of 'relatively few lines are ever going to be time-critical'. Fixed to 'تنها تعداد نسبتاً کمی از خطوط از نظر زمانی بحرانی هستند' (only relatively few lines are time-critical).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{note}{note}, demote TPUs to a brief mention, streamline single-GPU vs multi-GPU coverage, remove redundant summaryTest plan
{note}directives display properly🤖 Generated with Claude Code