|
From: | Clément Pit-Claudel |
Subject: | Re: Why does adding a useless copy-sequence and discarding the result make my ELisp 40 times faster? |
Date: | Sat, 25 Mar 2017 09:49:00 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 2017-03-25 06:38, Andreas Politz wrote: > The limiting factor may also be python itself... > > ;; python2 > ((0.114342188 0 0.0) > (0.715895279 0 0.0) > (2.120252213 0 0.0) > (1.02429565 0 0.0)) > > ;; bash = "while read;do : ;done" > ((2.008305836 0 0.0) > (1.999825023 0 0.0) > (2.026715753 0 0.0) > (2.060320318 0 0.0)) Interesting! But doesn't this just show that bash is uniformly slow? Do you see the same surprising timings with the read.c program that I sent, or with cat, as with Python? Clément.
[Prev in Thread] | Current Thread | [Next in Thread] |