{"action":"created","issue":{"url":"https://api.github.com/repos/cisco/ChezScheme/issues/14","repository_url":"https://api.github.com/repos/cisco/ChezScheme","labels_url":"https://api.github.com/repos/cisco/ChezScheme/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/cisco/ChezScheme/issues/14/comments","events_url":"https://api.github.com/repos/cisco/ChezScheme/issues/14/events","html_url":"https://github.com/cisco/ChezScheme/issues/14","id":151313158,"number":14,"title":"Poor performance when dealing with multi-precision numbers","user":{"login":"ChaosEternal","id":1491611,"avatar_url":"https://avatars.githubusercontent.com/u/1491611?v=3","gravatar_id":"","url":"https://api.github.com/users/ChaosEternal","html_url":"https://github.com/ChaosEternal","followers_url":"https://api.github.com/users/ChaosEternal/followers","following_url":"https://api.github.com/users/ChaosEternal/following{/other_user}","gists_url":"https://api.github.com/users/ChaosEternal/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaosEternal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaosEternal/subscriptions","organizations_url":"https://api.github.com/users/ChaosEternal/orgs","repos_url":"https://api.github.com/users/ChaosEternal/repos","events_url":"https://api.github.com/users/ChaosEternal/events{/privacy}","received_events_url":"https://api.github.com/users/ChaosEternal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":52,"created_at":"2016-04-27T07:00:45Z","updated_at":"2016-05-03T00:20:20Z","closed_at":null,"body":"* The test Program:\r\n\r\n;; the fib iterative\r\n(import (rnrs))\r\n\r\n(define (fib n)\r\n  (define (iter a b c)\r\n    (cond ((= c 0) b)\r\n          (#t (iter (+ a b) a (- c 1)))))\r\n  (iter 1 0 n)\r\n)\r\n\r\n(display (fib 1000000))\r\n\r\n\r\n* Run with Chez:\r\n\r\nChez Scheme Version 9.4\r\nCopyright 1984-2016 Cisco Systems, Inc.\r\n\r\n$ time scheme --program fib.scm  >/dev/null\r\n\r\nreal    0m23.007s\r\nuser    0m22.956s\r\nsys     0m0.076s\r\n\r\n* Run with vicare\r\nVicare Scheme version 0.4d0, 64-bit\r\nBuild 2015-10-19\r\n\r\nCopyright (c) 2006-2010 Abdulaziz Ghuloum and contributors\r\nCopyright (c) 2011-2015 Marco Maggi and contributors\r\n\r\n$ time vicare fib.scm  >/dev/null                                                                                                                                             \r\n\r\nreal    0m6.372s\r\nuser    0m5.900s\r\nsys     0m0.468s\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cisco/ChezScheme/issues/comments/216402513","html_url":"https://github.com/cisco/ChezScheme/issues/14#issuecomment-216402513","issue_url":"https://api.github.com/repos/cisco/ChezScheme/issues/14","id":216402513,"user":{"login":"johnwcowan","id":1767302,"avatar_url":"https://avatars.githubusercontent.com/u/1767302?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwcowan","html_url":"https://github.com/johnwcowan","followers_url":"https://api.github.com/users/johnwcowan/followers","following_url":"https://api.github.com/users/johnwcowan/following{/other_user}","gists_url":"https://api.github.com/users/johnwcowan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwcowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwcowan/subscriptions","organizations_url":"https://api.github.com/users/johnwcowan/orgs","repos_url":"https://api.github.com/users/johnwcowan/repos","events_url":"https://api.github.com/users/johnwcowan/events{/privacy}","received_events_url":"https://api.github.com/users/johnwcowan/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T00:20:20Z","updated_at":"2016-05-03T00:20:20Z","body":"The operations on bignums that are needed are those listed in section 11.7.4 of R6RS that are meaningful when applied to exact integers, namely `inexact = < > <= >= zero? positive? negative? odd? even? max min + - * / div mod div-and-mod div0 mod0 div0-and-mod0 gcd lcm expt number->string string->number`."}}