Skip to content

Instantly share code, notes, and snippets.

@tomaes
Last active April 15, 2020 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaes/02c6517df4904c98a689d2847e239a11 to your computer and use it in GitHub Desktop.
Save tomaes/02c6517df4904c98a689d2847e239a11 to your computer and use it in GitHub Desktop.
P=. versus P=0 actually makes a significant difference (plus4, PET, C64, VC20)
10 rem p=. vs p=0 results:
11 rem plus4 : 16%
12 rem pet : 19%
13 rem c64 : 20%
14 rem vc20 : 22%
15 :
20 t=ti
21 for i=0 to 499: p=0: next
22 a=ti-t
23 print "p=0 :";a
24 t=ti
25 for i=0 to 499: p=.: next
26 b=ti-t
27 print "p=. :";b
28 print "diff:"(1.-(b/a))*100"%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment