Marc Brooker personal blog
Make your program slower with threads
Years ago, while taking a numerical methods course, I wrote some code to calculate the expected number of shared birthdays in a group. The code is very simple: each attempt constructs a vector of N birthdays, then counts the duplicates. The outer loop runs millions of attempts, and calculates the mean number of shared…
- Points
- 203
- HN comments
- 151
- Submissions
- 2
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2014
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 7, 2014 | Make your program slower with threads by bbgm | 203 | 47 |
| Jun 6, 2024 | Make your program slower with threads (2014) by unchar1 | 152 | 104 |