I'm probably missing something here, but is there any reason why you can't just allocate sequential numbers? That way you'd only need to store the next available value.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Maintaining uniqueness across millions of items
by davorg
in thread Maintaining uniqueness across millions of items
by sdbarker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |