Menu

Question about tokenized programs

2018-01-29
2018-01-29
  • Daniel Stritt

    Daniel Stritt - 2018-01-29

    Hello, I always wondered about tokenized programs. Is this like a byte compiled version? If so will programs run faster if you save them as tokenized?

    Thanks,
    Daniel

     
  • Anonymous

    Anonymous - 2018-01-29

    Hi Daniel, it's not byte-compiled the way for example Java is, it simply has all the keywords replaced by one- or two-byte tokens. Programs are always stored in memory this way - so there is not difference in speed, but tokenised programs load slightly faster. That difference was much more significant on the old hardware for which GW-BASIC was designed.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.