continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trygve Laugstøl <>
Subject Re: [vote] merge id-refactor branch changes
Date Wed, 24 Jan 2007 11:44:18 GMT
Rahul Thakur wrote:
>>> 'int' ids are now converted to 'long' across the project and to allow 
>>> really large values. This should cater to scenarios where the id 
>>> generation could be started from an arbitrary large value.
>> Won't this break the API?
> Yep, it would.
>> What is the use case where 4 billion IDs isn't sufficient?
> 2 billion you mean :-). But this also more of something that I have 
> noticed  'traditionally' that ids are specified as long and stored as 
> bigints in database

No, 4 billion. an int is +-2billion. Anyway, just because longs are more 
traditionally used that is not a good enough reason to switch to longs 
and break the API to me.


View raw message