But it's only set up once. That's why the closure. Overhead is not charged in scaling arguments, and array indexing is certainly O(1) for positional representations - up until you need bigints for the indexes.
After Compline,
Zaxo
In reply to Re: •Re: Re: Weighted random numbers generator
by Zaxo
in thread Weighted random numbers generator
by spurperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |