Regarding b), would using a `long` be an option instead of `int`? long has 
a lot less overhead than `BigInteger`, and should handle even the most 
crazy cache sizes that people will want to throw at the code!
On Monday, October 26, 2020 at 10:17:04 AM UTC+1 Noel Grandin wrote:

> We should either
>
> (a) throw an exception if the cache size is so big we can't handle it
>
> (b) use BigInteger or store the cache sizes in kilobytes or megabytes to 
> avoid overflow.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/4f4d9e1e-4f01-45a4-a2f1-dd7293cd475en%40googlegroups.com.

Reply via email to