Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment how profiling tools fit in (Score 1) 249

or you needlessly wrote some hideous O(n!) search which is NP complete, then no amount of profiling and instruction tuning is ever going to help you.

In this situation the value of the profiling tools is not for instruction tuning, but to help you notice the existence of the bad search function so you can replace it with something else.

In a large program there can be lurking n-squaredness which may not be obvious from looking at any one section of the code. For example there could be an innocent function which loops over n objects, and you may not realize that it is being called from a function twelve levels up the stack which is also looping over the same n objects.

Sometimes it's enough to just stop in the debugger a few times to realize what is slower than it should be and why. In other cases, browsing the output of a good call graph profiler can help inspire the fix faster.

Comment Re:Bye, bye. (Score 1) 881

There's no network access down in the tunnels so the paper provides a good snapshot to read...

Back in the day, we had something better for that use case... it was called AvantGo. I guess some people today might use Plucker, but it's just not the same.

Comment 23 starts much faster, for me anyway... (Score 1) 367

Because of the daemon feature being added in this release, I was more surprised than I otherwise would have been: when I finally managed to compile emacs 23 for Solaris 10, it started much faster than 22.1. It really is almost instantaneous now even though I do have plenty of customization going on.

Comment Re:Get a Cheap Used Palm Tungsten C (Score 1) 426

Hard to beat the price as you've laid it out, but the web browsing experience on the T|C is not very satisfying by today's standards. The combination of 320x320, 802.11b (not g) and PalmOS makes me normally prefer to cross the house to use a desktop PC. Though it is convenient for ssh access to try to restart gdm or cleanly reboot a machine whose screen and keyboard has locked up for some reason.

Slashdot Top Deals

Math is like love -- a simple idea but it can get complicated. -- R. Drabek

Working...