I have finished benchmarking the routines. I didn't include any from this thread
or this one
but you are welcome to. I did not penalize any routine for processing the dictionary. Additionally, if there were a number of small variations for a routine, I only included the fastest.
Rate limbic__2 solo____1 limbic__3 limbic__4 ieronim_1 lim
limbic__2 6.48/s -- -45% -62% -90% -95%
solo____1 11.8/s 82% -- -31% -82% -92%
limbic__3 17.3/s 166% 46% -- -74% -88%
limbic__4 67.5/s 941% 471% 291% -- -53%
ieronim_1 143/s 2104% 1109% 728% 112% --
limbic__1 150/s 2218% 1171% 771% 123% 5%
Please note that the winner is just my re-write of Ieronim
's code with a few extra bells and whistles. Since the benchmark is extremely long, I have put it in spoiler tags as well as readmore tags:
These benchmarks do not reflect the realization I made concerning when to test if a path connection has been made that I noted elsewhere in this thread.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] |