[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Integer patch
- From: Gavin Wraith <gavin@...>
- Date: Tue, 11 Apr 2006 10:31:47 +0100
In message <443B7533.firstname.lastname@example.org> you wrote:
> Gavin Wraith wrote:
> >> Is userdata (boxed 32-bit unsigned ints, yay!) too slow or too
> >> cumbersome for your requirements?
> > Yes. 98% of my arithmetic usage is integer. I would rather not have
> > the tail wag the dog.
> Well, okay, don't have the tail wag the dog - use an integer
> luanumber type and just use userdata for the float maths.
Yes, I think that is the best solution. When I used the mapm
library to provide bignums that was in effect what I was doing.
Gavin Wraith (email@example.com)
Home page: http://www.wra1th.plus.com/