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.
Additional Item Attachment:
File name: 18BitIdentity-2.patch Size:0 KB
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list