.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old May 8th, 2001, 04:03 PM

KiloOhm KiloOhm is offline
Corporal
 
Join Date: Dec 2000
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
KiloOhm is on a distinguished road
Default Re: Could someone explain:

I understand that but I don't see how that applies to the argument. Your saying 255 systems takes up X amount of space if you use 8 bit numbers, then you say 16 bit numbers takes up much more than 2X the space.

Your argument hold true if your talking about the number of POSSIBLE combinations, not what the actual memory requirement is. The memory requirement is linear with byte size if you keep the same number of variables for the system, the possible combinations is exponential with byte size since you have twice the number of bits, you have as you said, a lot more combinations.

But we're not talking about combinations, we're talking about straight storage, right? Or did I miss the point entirely?

quote:
Originally posted by LemmyM:

if you have 8 bits then you have 2 to the 8th possible numbers, that is 256
if you have 16 bits, you have 2 to the 16th possible numbers, that is 65535

so it's not just twice as much, the difference in bits is 16 - 8 = 8, so it is 2 to the 8th times as much

and 70 mb is of course the maximum, if you actually have 65536 systems in a map

[This message has been edited by LemmyM (edited 08 May 2001).]



__________________
Regards,
KiloOhm
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.