texas-instruments


What is the fastest infinite loop in TI-84+ Basic?


Since there are technically 4 types of loops (for, while, repeat, and goto/lbl), which one is the fastest to use "infinitely"? Here is what I mean:
while 1
End
repeat 0
End
lbl 1
goTo 1
for(n, 1, [number large enough to function as practically infinite]
End
Which of these is the fastest, or is there an even faster one?
In terms of both size and speed, the repeat and while loops are the fastest.
While 1 and Repeat 0 are both 2 bytes, while End is 1. In terms of space, they are both 4 bytes.
In terms of speed, the same is true. Just try making a simple program that loops to infinity and time it.
TL;DR: While 1: End and Repeat 0: End
Technically the fastest is:
AsmPrgm
18FE
which has to be run as an assembly program.
This is using Z80 assembly to create an infinite (unstoppable except by the reset button) loop. The code is run directly by the processor, so the OS doesn't need to spend time interpreting it.

Related Links

Texas Instruments Transferring Program
How to interact with an OpenThread device?
how do i use autosar program on tiva EK-TM4c123GXL (ARM cortex M4)?
CCS/DRA755: DSS jython connection timesout whereas CCS manually does run successfully
CCS: MPU6050 Sensorlib
configure osxmotion library and license manager in Canon Juma(STM32F401)
What is the fastest infinite loop in TI-84+ Basic?
serialEvent1 on cc3200 energia
Strange behavior with Sys/Bios mailbox objects
TI CC3200: How to get access point list(Wifi Direct)
Storing values to a list stored in a string
Connecting a Texas Instruments TI-84 Plus CE to an Ubuntu computer
Description of function i.e sl_Start(0, 0, 0) used for cc3200 launchpad
How do I detect if an installation of Code-Composer-Studio is licensed?
TI83+ evaluate expression program

Categories

HOME
google-chrome
openshift
webview
livecode
activemq
web2py
iptables
ontology
drag-and-drop
visualforce
mithril.js
tup
port
nexus3
lapack
outlook-restapi
cuba-platform
complexity-theory
mailgun
uima
tomcat8
office-ui-fabric
data-type-conversion
sqlplus
batch-rename
web-config-transform
laravel-4.2
nic
series
winrm
custom-keyboard
java-stream
formsauthenticationticket
redgate
stackpanel
eclipse-gmf
android-alarms
plane
icepdf
access-denied
ipp-protocol
gcal
spongycastle
knockout-2.0
scala-collections
asp.net-web-api-routing
nivo-slider
1010
emacs25
alertify
pecl
sidewaffle
decoder
dmarc
eclemma
adp
apache-pig-grunt
node-glob
jeasyui
mathnet
mercurial-extension
as3-api
flipclock
outlook.com
deeplink
in-app-billing
apache-commons-digester
blank-line
netdatacontractserializer
fantom
python-c-extension
fiware-bosun
pass-by-value
phonegap-facebook-plugin
encryption-symmetric
angular-ui-select
distributed-r
git-reset
hotswap
nosql-aggregation
sensormanager
mousemotionlistener
.net-remoting
pageheap
motodev-studio
qt-mobility
sql-parametrized-query
libxslt
ixmldomdocument
spring-modules
motif
code-camp

Resources

Encrypt Message