Join Nostr
2026-03-28 03:43:18 UTC
in reply to

Klaus Frank on Nostr: nprofile1q…zre2d Yes it can, with parallelism. And then you send all of them to ...


Yes it can, with parallelism.

And then you send all of them to sleep for the time equal to the value of your number. For min you take whatever returns first and ignore all others.

And for max you take whatever returns last and ignore all others.

Main issues are it is highly ineffective (people didn't even know how to qualify it in big O-notation as runtime depends on the input's values)
And you need a way to precisely synchronise the start and execution of threads