[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integer Basic Tokenization
In article <3AB1D3FB.8CE2B306@swbell.net>,
Rubywand <rubywand@swbell.net> wrote:
>
> Looks like your idea about the $Bx code is right. My guess is that it's a
>way to speed up references by number. A code scan for a value can avoid doing a
>hex-->decimal conversion for all entries except those with the right first
>digit.
$Bx is the Apple ASCII value for a digit. Allowing all the $Bx codes
probably shortens the tokenization code by a few instructions, because you
can just dump the first byte of the digit as the token.
--
Matthew T. Russotto russotto@pond.com
"Extremism in defense of liberty is no vice, and moderation in pursuit
of justice is no virtue."