in reply to Re: Processing data with lot of math...
in thread Processing data with lot of math...
Hey, this approach works really well! I'll include it in my next version of Chemistry::Bond::Find. It scales almost linearly, maybe even better than the recursive partitioning algorithm as I implemented it, and it avoids some of the overhead of the recursive calls and the creation and passing of lots of data structures.
For my test file with 1717 atoms, my recursive algorithm took about 9.7 seconds, while the new method based on your post took 3.2 seconds.
I should remember that you can throw hashes at almost any problem with Perl...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Processing data with lot of math...
by BrowserUk (Patriarch) on May 12, 2004 at 19:24 UTC | |
by itub (Priest) on May 12, 2004 at 19:40 UTC | |
by BrowserUk (Patriarch) on May 12, 2004 at 20:43 UTC |