Winbloze Notepad Grabs Space
Hmmm,
This is another reason why windows=>bloze.
You have to be able to understand binary very well to follow this.
In the notepad, each AlphaNumeric character or symbol is suplied as 1 byte. This is written in hex as two 16 digit places 0-f/0-f which is stored as one 8 bit number in binary. Therefore if you have a text file that contains the information "0123456789" it will be stored in a space of 10 bytes and is written in hex as "30 31 32 33 34 35 36 37 38 39" respectively. This would all make sense, but the notepad in windbloze is limited to the size of 8,192 bytes, so even if the file contains just a space " " it will be stored as 8,192 bytes. This file would also be able to hold 8,192 AlphaNumeric characters or symbols.
Now the screwy part comes after that boundary is broken.
If a text file contains 8,193 AlphaNumeric characters or symbols it would seem logical to use instead of the 13 bit 8,192 possibility, a 14 bit 16,384 possibility binary number, but the notepad uses 2, 13 bit numbers instead of a single 14 bit number. {If this is not making sense look at this, the notepad stores it as 2 {0000000000000 0000000000000} 13 bit numbers, but in you can store the same amount of information in a single 14 bit number {00000000000000}} The notepad coninues to use this disgusting process all the way until wordpad kicks in. If a file contains 32,769 AlphaNumeric characters, instead of using a single 16 bit number it uses it uses 5 13 bit numbers. {This example the equivilant of using this{00000000000000000000000000000000000000000000000000000000000000000} instead of this {0000000000000000} to store the information.} As this process continues, the notepad grabs more and more space for a smaller and smaller source.
To conlude, I am currently writing a new notepad that uses higher bits to store AlphaNumeric characters instead of conescutive 13 bit numbers. When I am finished writing it I will post it here at AO. This will cut down the size of big text documents and text libraries like the multiple ones I have by about 1/2 the size I would be willing to bet.