Follow-up Comment #11, bug #21950 (project freeciv):
> And if we are supposed to add 1, why not using (1 << 18)?
Actually there's no longer specific need to have it as 2^y. The reason it was
2^16 was that then any value could fit to uint16, but it's not necessary to
make it exactly 4 times as big (note that every possible value consumes memory
so we can't increase it all the way to 32 bits to fit in uint32 without
significant cost). Attached version of the patch makes it 250000.
(file #21395)
_______________________________________________________
Additional Item Attachment:
File name: 18BitIdentity-2.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21950>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev