Re:Universally Unique Lexicographically Sortable Identifier ...
by aruggirello on Tuesday December 06, 2016 @05:39PM
(#13118923)
Out of curiosity, I just wrote a PHP ulid() function. [1]
It took me a little more than 5 minutes, so it wasn't that hard after all. It appears to run at only about 35% the speed of the Go version, but hopefully there's still room for some little improvement.
It took me a little more than 5 minutes, so it wasn't that hard after all. It appears to run at only about 35% the speed of the Go version, but hopefully there's still room for some little improvement.
[1] https://github.com/phptools/ulid