Compiled pi@RPi4B:~/swift-dev/examples $ swiftc 1mil.swift -o 1mil pi@RPi4B:~/swift-dev/examples $ ls -l total 36 -rwxr-xr-x 1 pi pi 14360 Nov 30 11:31 1mil -rw-r--r-- 1 pi pi 211 Nov 26 01:28 1mil.swift -rwxr-xr-x 1 pi pi 14524 Nov 26 01:29 main pi@RPi4B:~/swift-dev/examples $ /usr/bin/time ./1mil Middle Plus: 1000000 Minus: 0 0.33user 0.01system 0:00.34elapsed 99%CPU (0avgtext+0avgdata 6724maxresident)k 0inputs+0outputs (0major+274minor)pagefaults 0swaps pi@RPi4B:~/swift-dev/examples $ swift --version Swift version 5.1 (swift-5.1.2-RELEASE) Target: armv7-unknown-linux-gnueabihf pi@RPi4B:~/swift-dev/examples $
Title: Re: One Mil Dash
Post by: John Spikowski on November 26, 2019, 01:27:50 AM
Here are the 1mil challenge results.
Title: Re: One Mil Dash
Post by: John Spikowski on November 26, 2019, 09:32:09 PM
AIR submitted an updated Bash script which is more efficient. (Thank You!) The post and the chart have been updated,
I have no plans to install Ruby or Rust. If you would like to submit an entry for these languages then either join the forum and post it or send me an e-mail to support @ raspberrybasic.org.
Title: Re: One Mil Dash
Post by: John Spikowski on November 27, 2019, 03:11:46 AM