in reply to Re: Camel vs. Gopher
in thread Camel vs. Gopher
Being faster then perl is only a bonus.
Hey now. My direct, pure Perl answer was four times faster than the original Perl presented and not even twice as slow as the go; 70% slower on my box.
vr's answer, with a well-known Perl module, is two times faster than the go and kschwab's answer is ten times faster than the go and still shorter by several lines a few dozen chars. Being faster is a matter of tuning and knowing the problem space. With the evidence presented, Perl is the clear speed, space, and cognitive load winner if you know how to match it with the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Camel vs. Gopher
by morgon (Priest) on Dec 12, 2018 at 21:56 UTC | |
by Your Mother (Archbishop) on Dec 12, 2018 at 23:22 UTC | |
by morgon (Priest) on Dec 12, 2018 at 23:58 UTC | |
by Your Mother (Archbishop) on Dec 13, 2018 at 02:06 UTC | |
by hippo (Archbishop) on Dec 13, 2018 at 00:08 UTC | |
by stevieb (Canon) on Dec 13, 2018 at 00:25 UTC | |
by pwagyi (Monk) on Apr 29, 2019 at 02:24 UTC | |
by etj (Priest) on May 03, 2022 at 21:39 UTC |