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

SubmittedTitle on HNPointsComments
Dec 7, 2014Make your program slower with threads by bbgm20347
Jun 6, 2024Make your program slower with threads (2014) by unchar1152104

More from Marc Brooker

All 19 posts →

Related posts from the same era