martinus wrote: > ops, I should have read your first post with more attention :-) Well, depending on the situation, I now will reconsider storing the GUID value as 16-byte string as well as Bignum. And perhaps optionally do some 'memoization' too. It's basically the traditional space vs computation trade-off. > forget the @val representation thing, but the from_base36 method might > still help a bit. > > Martin Thanks to all responses. Regards, dave