<

Question: Seq slower than seq???

This question is related to the Question Matlab's parfor in Maple 2017

I run two small computations to test the improvement that should occur when using several cores (8 cores in my computer):

N:=100000.:

st:=time():

w:=seq(sqrt(i),i=1. ..N):

time()-st;

and:

with(Threads):

st:=time():

w:=Seq(sqrt(i),i=1. .. N):

time()-st;

And the results are: 23.6 sec with seq, and 118.4 sec with Seq!

Seriously?

How can these results be explained?

Thank you in advance

 
Please Wait...