4 ms·
Me too friend
by dullcrisp 3y ago
Me too friend
- PaulHoule 3y agoThere was that time I was finishing up my PhD thesis and had written a Monte Carlo integration that computed the volume of an energy surface in a 6-dimensional phase space. I wrote the first draft of the program in Java, it wasn't really fast enough, so I wrote a second draft in C that used a bunch of performance optimizations, most notably it applied a coordinate transformation to the phase space that meant the probability of a point being inside the surface was much higher than it was before. The program was really a lot faster but most of the gain came from using better algorithms, the factor I got from C might not really have been worth it. I wrote that program in my own dialect of object-oriented C.