[bind10-dev] numeric/integer size on CC channel

Michal 'vorner' Vaner michal.vaner at nic.cz
Fri Jun 21 09:32:57 UTC 2013


Hello

On Fri, Jun 21, 2013 at 09:24:52AM +0000, Francis Dupont wrote:
> > When do we increase by more than one?
> 
> => count the number of bytes, etc.

My estimate would still hold with anything smaller than fully saturated 10GBit
network connection. I still think that 64bit counter will not wrap around during
the effective life time of the Bind 10 project.

But even in case we find out there's a case when it could overflow, I think the
right solution is then to use a library for long numbers and not try to hack
around the fact the number can get lower at various places scattered around the
code.

With regards

-- 
Next sleep is scheduled after 1k lines of code

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130621/ce2d371d/attachment.bin>


More information about the bind10-dev mailing list