Dirk Laurie on Mon, 22 Oct 2012 22:19:45 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
exp is faster the second time round
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: exp is faster the second time round
- From: Dirk Laurie <dirk.laurie@gmail.com>
- Date: Mon, 22 Oct 2012 22:19:37 +0200
- Delivery-date: Mon, 22 Oct 2012 22:19:45 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=iWmcr9rM/wjfYB0VJHM9UPI23XmLqBKjY+yNlj14kl8=; b=Fo+i7QzW6CJtukvCmwYO/u8ca8wFN1YFyZCaSsELAjBxgOp5/pfbzro2f/RO37P9Po 3k+AzoXT2iqT6LUmtKur2GzeqfbZ1sTAbTMIZViGNn/v2nVTIGM6dkklZOryx0+vp1U/ mMhXpFyY7TDWmJtt9Qx7dup2VBqVtaMyi7PPreOOx6Dymr61u0fvICxKIOWs9nu/2XZU tQuMojnzFNyUQcikUMgL+7bepEFcHOW08/LG6OFloS8hQmUhJLG5qTjfcCSlZtzmnq6K BOyKAhpKKrf6SEc7uUnh1oaeqbTHcriYZuBRB9joqjry1Vci/eCx8x8XWTen/8NmOLzm Bg4Q==
With \p 1000000, it takes about a minute to compute exp
on my laptop. Immediate afterwards, it takes about 30 seconds.
Obviously some constants are being memoized. Which
constants are these?