Chapter 10. Optimizing TI-BASIC programs

 

This chapter covers
  • Making programs smaller and faster
  • Using implicit conditionals, Ans, and other tricks
  • Compressing numbers and lists of strings

 

Being a programmer means knowing not only how to write programs but how to write them well. In all of the chapters so far, I’ve emphasized the importance of creating programs that are not only correct but are also fast and small. Your TI-83+ or TI-84+ calculator has either a 6 MHz or 15 MHz processor, 24 KB of RAM, and somewhere between 160 KB and 1.5 MB of Archive (ROM). You can archive programs to free up RAM. When you run a program, it must fit entirely in RAM, which means that the largest TI-BASIC program you can run is smaller than 24 KB. It’s ...

Get Programming the TI-83 Plus/TI-84 Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.