Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Binär (https://www.delphipraxis.net/106048-binaer.html)

DeddyH 4. Jan 2008 14:59

Re: Binär
 
Auch wieder wahr, kleiner als Sektorgröße (= 512 Byte) geht ja nicht.

Nils_13 4. Jan 2008 14:59

Re: Binär
 
Was heißt hier eigentlich als Integer ? Ist hier nicht eher von dezimal die Rede ?

Zum Thema: Speicher es Hex-Dezimal ab. mit A-F sparst du noch mehr Platz.

Jelly 4. Jan 2008 15:15

Re: Binär
 
Zitat:

Zitat von Nils_13
Speicher es Hex-Dezimal ab. mit A-F sparst du noch mehr Platz.

Ich find zwar, es ist eigentlich egal wie gespeichert wird, denn ob nun 25 Bytes verbraten oder 4, wen juckts. Aber hexadezimal speichern spart dir hier nix...

25 Binärstellen passen in ein 32 Bit Integer, und das sind 4 Byte.
2^25 in hexadezimal dargestellt ist 200000, und das sind 6 Byte :roll:


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:39 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz