Why is Number Class arithmetic and comparison extremely efficient?
Besides simply saving space, the compactness of Base One’s Number Class representation provides a performance boost by shortening in-memory data transfers and reducing the amount of disk I/O. But there are additional reasons for significant speedups owing to the unique design of the Base/1 Number Class: all arithmetic calculations are performed taking two digits at a time Base One’s algorithms for operations like addition, subtraction, multiplication, division, remainder, quotient, modulus, etc. have been designed to process digits in a pairwise fashion. On the other hand, Binary Coded Decimal (BCD), which also packs two digits into each byte, requires twice as much work to extract and process each digit individually. extremely fast numeric comparison logic because no normalization is required A remarkable feature of the Base/1 Number Class is that it uses highly efficient byte string operations (exactly like strcmp) to directly compare any pair of numbers. Even if the numbers differ i