Re: Compiling file with many functions: huge performance difference between IDL and IDLDE [message #38702 is a reply to message #38531] |
Mon, 22 March 2004 05:49  |
richard.martin
Messages: 3 Registered: February 2004
|
Junior Member |
|
|
The threads seem to have got off topic again. So why is IDLDE so
rubbish? Don't know! But then I guess like all the sain people round I
use emacs-IDLWAVE precisely because IDLDE is so bad.
As for your programing task, "Searching in string spaces", it looks
very similar to the WHERE_AINB problem, which we all know should be
done by the
king of IDL routines VALUE_LOCATE (Controversial! Heresy even!) as in
ord=VALUE_LOCATE(nameindex, name)
result=(nameindex(ord) ne name) ? -1 : namevalue(ord)
The {nameindex} must be sorted.
Your "Multi-Function" method is still quicker than this (but only by a
factor of two), but the above can be vectorised very easily.
And finaly, for all of you out there that leave the complete history
of the thread in your replies, the <DELETE>-key can normaly be found
just above the
<CR>-key, top right-hand corner of the QWERTY bit, end of the row with
all the numbers on it ;-).
Rich.
|
|
|