Oleg Kobchenko wrote:
> The 32 bit limit of some two billion objects may be
> reached in less than 6 hours on P4 2.8 GHz.
Hmm... perhaps the name generated by 18!:3'' should
be modeled something like:
next''
where:
next=:3 :0
if.start>:end do.
'start end'=:1 0+limit bigInterval ".@>18!:1]1
end.
r=.start
start=:1+start
r
)
bigInterval=: 0 (] {~ 0 1+ [:(i. >./) 2-~/\ ])@, [,~ ]/: ]
start=:0
NB. 'limit' is largest representable integer value
NB. there's probably a better way to do this
limit=:3!:2'7'(<_1 0)}(_2+4%~#{.3!:3]0)3!:3]_1
end=:limit
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm