Skip to content

mock: move regexp compilation outside of Called - #631

Merged
dolmen merged 3 commits into
stretchr:masterfrom
aud10slave:master
Aug 1, 2023
Merged

mock: move regexp compilation outside of Called#631
dolmen merged 3 commits into
stretchr:masterfrom
aud10slave:master

Conversation

@aud10slave

Copy link
Copy Markdown
Contributor

This diff moves the regular expression compilation for GCCGO functions outside the mock.Called. Its doing unnecessary work on every function call.

Loading
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.

2 participants