Timeline for What is the minumum code/operations to have in a separate thread?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 23, 2012 at 19:31 | comment | added | JSideris | 10 million hard-coded constants is an extremely unlikely use case and would constitute as an exception. However if it is a "data set" that you are mining somehow, I'd consider that "variable" for the purpose of my answer. If you wish you can edit my answer to change the wording, but I think I was clear enough. | |
| Apr 23, 2012 at 19:24 | comment | added | user7043 | If I have a data set with 10 million entries and I want to map some embarrassingly parallel O(1) operation (e.g. saturating each pixel of an raster image individually) over those values, the running time is O(1) -- after all, 10 million is just another constant -- but halving the runtime by using two threads for 5 million operations each, I'd say that makes a pretty significant difference. | |
| S Apr 23, 2012 at 19:13 | history | suggested | Dynamic | CC BY-SA 3.0 |
general fixes
|
| Apr 23, 2012 at 19:10 | review | Suggested edits | |||
| S Apr 23, 2012 at 19:13 | |||||
| Apr 23, 2012 at 19:08 | history | answered | JSideris | CC BY-SA 3.0 |