diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-04-07 20:36:35 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-04-07 20:36:35 +0200 |
| commit | 59b485a3c860c81546f3a2b5389b14e5001e053d (patch) | |
| tree | d461cf5759d47666ff50ff37a54038128eb2f500 /src | |
| parent | 62b24bbca63af874302e39be2cbb781c1c9266b4 (diff) | |
I a few letters
Thanks Daniel
Diffstat (limited to 'src')
| -rw-r--r-- | src/Index.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Index.hs b/src/Index.hs index 36b2374..69be325 100644 --- a/src/Index.hs +++ b/src/Index.hs @@ -369,7 +369,7 @@ genEventID (YMDHMS (YMD y m d) (HMS hh mm ss)) off -- > ceiling (2 ** (64 - logBase 2 (5000 * 12 * 31 * 24 * 60 * 60))) -- 114787088 -- to fit the ID number in a Word64. - -- Let's round that down converatively to 100_000_000, i.e. 100 million events per day max. + -- Let's round that down conservatively to 100_000_000, i.e. 100 million events per day max. -- -- The result number is encoded in base62, and an 'a' is prefixed as an ID version identifier. | off >= 100_000_000 = error "Too many events per day" |
