Timeline for Optimizing Conway's Game of Life in C++
Current License: CC BY-SA 4.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 12, 2019 at 6:17 | vote | accept | CommunityBot | ||
| Oct 10, 2019 at 8:23 | answer | added | Toby Speight | timeline score: 4 | |
| Oct 9, 2019 at 19:13 | comment | added | user141933 | @hoffmale Our assignment is graded on a Xeon chip of unknown specification, but I would prefer to optimize my programs for my personal i7-8565U since I can become most familiar it. ark.intel.com/content/www/us/en/ark/products/149091/… | |
| Oct 9, 2019 at 18:35 | answer | added | user555045 | timeline score: 3 | |
| Oct 9, 2019 at 16:53 | comment | added | hoffmale | Having the compilation flags is nice, but which architecture are you targeting? Where will the program run for the measurements? Unless that information is given, we can at most give you some superficial answers. | |
| Oct 9, 2019 at 16:44 | comment | added | pacmaninbw♦ | In addition to my answer below, profile the code, this will tell you where the bottle necks are. Keep in mind the first rule of optimization is don't optimize, the the compiler do it for you. The second rule of optimization is generally find a faster algorithm. | |
| Oct 9, 2019 at 16:33 | answer | added | pacmaninbw♦ | timeline score: 4 | |
| Oct 9, 2019 at 10:55 | history | edited | user141933 | CC BY-SA 4.0 |
Clarified the problem.
|
| Oct 9, 2019 at 10:45 | comment | added | user141933 | @nwp That's true with regard to the assignment. Absolute speed at any cost except correctness of output. But I'm not sure what optimizations are never appropriate even when every bit of performance is desired. And to cloud things further, I'm not sure if there's a gray area when certain methods are reserved for the most extreme applications. | |
| Oct 9, 2019 at 9:51 | comment | added | nwp | How well does the following statement fit to this assignment and the review you are interested in? "I don't care how terrible the code is. As long as it executes fast and spits out the right answer I'm happy." I have a feeling answering this will help avoiding people giving you reviews you don't want. | |
| Oct 9, 2019 at 9:00 | history | tweeted | twitter.com/StackCodeReview/status/1181856984959766528 | ||
| Oct 9, 2019 at 7:06 | history | edited | user141933 | CC BY-SA 4.0 |
Clarity
|
| Oct 9, 2019 at 5:26 | history | edited | user141933 | CC BY-SA 4.0 |
Clarity
|
| Oct 9, 2019 at 5:15 | history | edited | user141933 | CC BY-SA 4.0 |
Clarity
|
| Oct 9, 2019 at 4:39 | history | edited | user141933 | CC BY-SA 4.0 |
Typo
|
| Oct 9, 2019 at 4:33 | history | edited | user141933 | CC BY-SA 4.0 |
I added the timing method I'm using.
|
| Oct 9, 2019 at 4:30 | review | First posts | |||
| Oct 9, 2019 at 7:11 | |||||
| Oct 9, 2019 at 4:27 | history | edited | dfhwze |
edited tags
|
|
| Oct 9, 2019 at 4:25 | history | asked | user141933 | CC BY-SA 4.0 |