惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

ashishb.net

A day in Luxembourg - the richest country in the world I was asked to install malware during a fake interview Book summary: Breakneck - China's quest to engineer the future by Dan Wang Book summary: How to Teach Your Baby to Read Book Summary: The Discontented Little Baby Book by Pamela Douglas Introducing Amazing Sandbox - run third-party tools and AI agents securely on your machine Why software outsourcing gets a bad reputation? Book summary: The Natural Baby Sleep Solution by Polly Moore A day in Antwerp, Belgium Journey of online influencers Two days in Brussels, Belgium Shortcuts - when we love them and when we don't A visit to Rakhigarhi Three days in overhyped Paris Empty Japan, crowded Tokyo The real lock-in in GitHub is not the code, but the stars 11-day Norwegian Breakaway East Caribbean cruise Sanskrit and Sri Lankan Air Force Use REST with Open API The Achilles heel of American capitalism Costa Rica in 4 days At a juice stall in Sri Lanka A short stay at Warsaw, Poland Best practices for using Python & uv inside Docker Two days in Vilnius, Lithuania How IntelliJ IDEs waste disk space Pregnancy Why there aren't many digital nomads from India Two days in Riga, Latvia To keep your machine secure, run third-party tools inside Docker
Speedup vs Slow-down
Ashish Bhatia · 2016-09-12 · via ashishb.net

If you are driving at a speed of 60 mph (or kmph, it won’t matter) from one city to another and return at 40 mph, then what would be your average speed?

It’s not 50, it would be 48 (See note 1). A slowdown of 20% cannot be countered with a speed-up of 20%, it takes a speed-up of 33% to counter a slowdown of 20% (See note 2). And that’s the most unintuitive things about slow-downs. In any aspect of life, once a slow-down has occurred, countering it is much harder without taking the risk of serious over-speeding and accidents. The alternative is to accept a lower final average speed.

Note:

  1. If one-way distance = x, then total time = x/60 + x/40
    Average speed = 2x/(x/60 + x/40) = 2 \* 60 \* 40 / (60 + 40) = 48
    The average speed is the Harmonic mean. As a further trivia, the harmonic mean of the two numbers is biased towards the smaller one.
    The geometric mean is biased towards the larger one (see, that’s why mutual funds love reporting performance in terms of geometric means). The arithmetic mean is dead in the center.
  2. If one-way distance = x, and the desired average speed is v, then the time of the first journey with 20% slowdown in x/(4v/5) = 5x/4v The total time of the journey is 2x/v
    Time of the return journey = 2x/v - 5x/4v = 3x/4v
    Average speed for the return journey = 4v/3 = 33% higher than the average speed.
  3. My Physics teacher in grade 9th taught me this unintuitive slowdown, and the result of it mesmerizes me to date.