This is topic New ways to define slow in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=053899

Posted by King of Men (Member # 6684) on :
 
Recompile the whole lot of code with -g; run in gdb; set a hardware watchpoint... and the code is doing a neg-log-likelihood fit over half a million events to start with.
 
Posted by Elmer's Glue (Member # 9313) on :
 
Well that just makes sense.
 
Posted by King of Men (Member # 6684) on :
 
...and then discover that the standard script actually sets LD_LIBRARY_PATH to include the default libraries, so that the debug libraries I have spent a day getting all my other code to work nicely with are not in fact being linked in. Take steps to avoid this. Learn still more about slowness.
 
Posted by King of Men (Member # 6684) on :
 
...make some progress: The variable I've been watching is set to NaN because of calls from the Deep Libraries. In particular, at some point the aptly-named array 'fU' is filled with NaNs and then passed around. Truly, whoever coded this bit had a deep understanding of what he was doing.
 
Posted by fugu13 (Member # 2859) on :
 
Ah, fun in the land of academic programming.

At least I'm assuming the people who wrote this were willing to use functions, unlike a certain fortran programmer I've worked with?
 
Posted by C3PO the Dragon Slayer (Member # 10416) on :
 
What language is this in? I'm not familiar with that terminology.
 
Posted by HollowEarth (Member # 2586) on :
 
I'm pretty sure its C.
 
Posted by King of Men (Member # 6684) on :
 
quote:
Originally posted by fugu13:
Ah, fun in the land of academic programming.

At least I'm assuming the people who wrote this were willing to use functions, unlike a certain fortran programmer I've worked with?

They even organise, if that's the word, their functions into classes. Glorified namespaces, really, but it's a start. Anyway, it's not really their fault, TMinuit is a straight C++ port of an older Fortran library.
 
Posted by Nighthawk (Member # 4176) on :
 
quote:
Originally posted by C3PO the Dragon Slayer:
What language is this in? I'm not familiar with that terminology.

I'm a programmer and I don't know what he's saying.

Must be lack of sleep...
 
Posted by T:man (Member # 11614) on :
 
I got a C++ once...
 
Posted by Magson (Member # 2300) on :
 
I still like the definition of "eternity" as being 4 blondes pulling up to a 4-way stop at the same time.
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2