Skip to content

Conversation

@lassidevs
Copy link

What has been done

  • Optimizes the synthetic ID generation by caching a global Handlebars
    instance in a thread-safe OnceLock. Prevents redundant template
    registration and improves performance for high-throughput workloads, which is expected for synthetic id generation
  • Fixed a minor readme typo

Notes

  • All unit tests pass
  • Verified deterministic hash output for known inputs.
  • No changes to external API.

Use a thread-safe OnceLock to lazily initialize and cache the global
Handlebars renderer
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.

1 participant