struct Location size

zjh fqbqrr at 163.com
Tue May 9 01:41:31 UTC 2023


On Tuesday, 9 May 2023 at 00:24:44 UTC, Walter Bright wrote:


>  6 bits for column - 1..64
> 15 bits for line - 1..32768
> 11 bits for file - 2047
>


8 bits for columns - 1..256
15 bits for lines - 1..32768
9 bits for files - 512

64 for column are generally not enough. After the above changes, 
the general projects are sufficient.
But for large projects, there should be a switch, which needs to 
be expanded to '8' bytes.






More information about the Digitalmars-d mailing list