Timeline for C++ program using <bitset> running pretty slow
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 1, 2015 at 18:03 | review | Close votes | |||
Feb 6, 2015 at 0:05 | |||||
Feb 1, 2015 at 17:43 | answer | added | rici | timeline score: 5 | |
Feb 1, 2015 at 17:41 | comment | added | bolov |
my feeling is that the IO here is the most taxing here. I mean you have 16 x 16 x 20.000 x 2 = 10.240.000 calls to getline.
|
|
Feb 1, 2015 at 17:38 | comment | added | bolov | If you are on windows, you can use Visual Studio Profile Analyzer (or something like that, don't recall how it's called). If you are on linux you can use valgrind with callgrind. There are profilers and will show you where your code spends most time. | |
Feb 1, 2015 at 17:37 | review | First posts | |||
Feb 1, 2015 at 17:46 | |||||
Feb 1, 2015 at 17:33 | history | asked | SalmonX | CC BY-SA 3.0 |