Skip to content

Turn HAS_DATETIME into a sub which lazily checks for DateTime presence#16

Open
bbrtj wants to merge 1 commit into
bk:masterfrom
bbrtj:master
Open

Turn HAS_DATETIME into a sub which lazily checks for DateTime presence#16
bbrtj wants to merge 1 commit into
bk:masterfrom
bbrtj:master

Conversation

@bbrtj

@bbrtj bbrtj commented Apr 26, 2026

Copy link
Copy Markdown
Collaborator

Reduces Data::ULID loading time from ~300ms to ~80ms on my machine. Does nothing if ulid_date function is used, but this is the best we can do without changing the interface. Further complaints about loading time must be forwarded to DateTime.

resolves #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data::ULID is slow to load. ~90ms of added startup time.

1 participant