Hi. Thanks for everyone answers. It's true, hehe, it's not a benchmark or anything like that. I hadn't taken into account compiler optimizations, but I have learnt a lot in this thread. About the Java code, Bigints are used. ark