in reply to Maintaining uniqueness across millions of items
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
|
|---|