Re: about planet storage
For those who wan to know why integer length is exactly 32 bit, not 91782 bit:
The 32 bit limit for integer comes from current CPU 32 bit architecture. It means that registers (tiny memory slots) in CPU core are 32 bits length and programming Languages are made to use those registers as effectively as possible so 32 bit is limit for normal integer and it can fit into one registry. There are limited amount of registeries in core, so if it takes more than one registry to storage the number in runtime, it slows code running tiny bit (but 8463 such variable in a program would have noticeable effect).
Of course, this will change in few years when CPu's based on 64 bit architecture comes into market. AMD just published it's first 64 bit processor. If SEV or SEVI is done based on that architecture, I believe there will be no crashes when having combats of 10000+ ships in PBW server...
__________________
If you give a man a fish, he will eat a day;
But if you teach a man to fish, he will buy an ugly hat;
And if you talk about a fish to a starving man, then you're a consultant
|