in reply to Re^2: Long url to tiny url.
in thread Long url to tiny url.
If you just issue the next available alphanumeric sequence, as you say, the URL is always as small as possible. But the problem with that, or any other predictable sequence, is that it's open to abuse. Conversely, if you use a random number generator with a short period, as you say you'll get lots more collisions, while a long period means the URLs will be longer than necessary.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Long url to tiny url.
by almut (Canon) on Jul 07, 2007 at 16:10 UTC |