« first day (1200 days earlier)      last day (3731 days later) » 

12:44 AM
0
Q: Area 51 proposal: History of Science And Mathematics

Jack MI've created a new proposal on Area 51 for a Stack Exchange focusing on the history of mathematics and science. As a math student, I am constantly studying the history of the subject. I feel that ultimately, it's the only way to really get a sense of that all important holy grail of mathematics ...

 
1:38 AM
@dmckee Some of the assembly was lost on me (one day I'll learn it), but a good read
Definitely liked where he wrote, If [optimizing] is not drastically faster but makes the code less readable: undo it.
 
2:38 AM
@tpg2114 Holy cow WHERE is terrible. Two WHERE statements took up about 10 seconds each; using two IF statements dropped it to about 5.5 seconds each
Also, REAL(KIND=wp), PARAMETER :: one = 1.0_wp in a global module will save you a lot of time, is perfectly readable, and looks nicer
 
 
1 hour later…
4:08 AM
@KyleKanos Yeah, we do that all the time
We have a bunch of constants defined. half, third, quarter, plus their inverses
And WHERE does suck
The F95 features are really slow
@KyleKanos So you've knocked off like almost 60 seconds of your 800 second runtime?
Once you get it as lean-and-mean as you can, you should use some profile guided optimization and see if you can get it even faster
 
 
14 hours later…
6:23 PM
@tpg2114 I think it's around 40-50 seconds off. Not sure yet if I want to spend more time profiling or just run with what I have.
I still have to fix some issues with the AMR (it's stalling in my module, I need to figure out where)
 
 
5 hours later…
11:39 PM
@KyleKanos 6% increase in performance isn't bad for a few days work
 

« first day (1200 days earlier)      last day (3731 days later) »