in reply to Re^2: Generating Unique numbers from Unique strings
in thread Generating Unique numbers from Unique strings
Thanks Bascillios and Marshall. I will check the string as hash key approach
Honestly speaking i did not think of keying my incoming strings in hashes as i was not sure of performance hit when doing an if(exists $storage{"String"}), as if we can generate a unique number from String and then if(exists $storage{uniq number}) should be obviously faster the searching a big string as hash key. But anyways i will try it out
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Generating Unique numbers from Unique strings
by Marshall (Canon) on Apr 03, 2016 at 17:49 UTC |