Skip to content

Conversation

@SergeiPavlov
Copy link
Collaborator

@SergeiPavlov SergeiPavlov commented Nov 3, 2025

Instead of calling .Bind() to allocate a closure we can use readonly struct with the bound argument as a field.
These BoundCompiler instances are short-living

Also:

  • Freeze CompilerProvider.compilers dictionary on locking

@SergeiPavlov SergeiPavlov removed the request for review from snaumenko-st November 4, 2025 01:58
@SergeiPavlov SergeiPavlov merged commit 77e8b0a into master-servicetitan Nov 4, 2025
36 checks passed
@SergeiPavlov SergeiPavlov deleted the GetCompiler branch November 4, 2025 01:58
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.

3 participants