in reply to Re^4: Generating lists of strings
in thread Generating lists of strings
What does that have to do with anything?
Everything!
First: Had I found the NestedLoops() syntax intelligable, I might never have sought my own solution, but as is, I would never have come up with the right syntax to do what you've done.
Second: The application I originally wrote nFor() for needed to be as efficient as possible:
c:\test>junk94 Took 0.557000 c:\test>nfor Took 0.09644
Given the very essence of the problems these routines are designed to handle is deeply nested algorithms, that nearly 6x difference can become very significant. Plus, if I need to tweak the function for specific purposes, my code is infinitely simpler to modify than NestedLoops().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Generating lists of strings
by ikegami (Patriarch) on Jan 24, 2010 at 22:48 UTC | |
by BrowserUk (Patriarch) on Jan 24, 2010 at 23:08 UTC | |
by ikegami (Patriarch) on Jan 24, 2010 at 23:21 UTC | |
by BrowserUk (Patriarch) on Jan 25, 2010 at 00:07 UTC | |
by ikegami (Patriarch) on Jan 25, 2010 at 02:55 UTC | |
|