Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

ulid

Universally Unique Lexicographically Sortable Identifier implementation for Delphi (Object Pascal)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Universally Unique Lexicographically Sortable Identifier implementation for Delphi (Object Pascal)

A Delphi/Object Pascal port of alizain/ulid.

Why ULID?

  • 128-bit compatibility with UUID
    1. 1e+24 unique ULIDs per millisecond
  • Lexicographically sortable!
  • Canonically encoded as a 26 character string, as opposed to the 36 character UUID
  • Uses Crockford's base32 for better efficiency and readability (5 bits per character)
  • Case insensitive
  • No special characters (URL safe)
  • [Delphi] Is faster than CreateGUID

For more information, check out ULID's README.

Usage

uses ULID

delphi
CreateULID; // 01ARZ3NDEKTSV4RRFFQ69G5FAV

How to contribute

Just make changes and submit a pull request (No Test No :beers:).