Skip to content

Make NoSpecimen singleton - #1511

Merged
aivascu merged 4 commits into
AutoFixture:release/5.0.0from
bestsoftever:enhancement/1489-make-NoSpecimen-singleton
Aug 9, 2025
Merged

Make NoSpecimen singleton#1511
aivascu merged 4 commits into
AutoFixture:release/5.0.0from
bestsoftever:enhancement/1489-make-NoSpecimen-singleton

Conversation

@bestsoftever

Copy link
Copy Markdown
Contributor

Description

This is a performance change that saves memory by avoiding creation of a large number of NoSpecimen instances.

Closed issues

#1489

Checklist

  • Reviewed the contribution guidelines
  • Linked the issue(s) the PR closes
  • Implemented automated tests and checked coverage
  • Provided inline documentation comments for new public API
  • Ran the full solution build and validation locally

Comment thread Src/AutoFixture/Kernel/NoSpecimen.cs Outdated
Comment thread Src/AutoFixture/Kernel/NoSpecimen.cs Outdated
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