Skip to content

Conversation

@samsmithnz
Copy link
Owner

@samsmithnz samsmithnz commented Dec 24, 2025

This pull request refactors the RandomNumberQueue class to use a Queue<int> instead of a List<int>, introduces new utility methods for queue manipulation, and updates related usages throughout the codebase. Additionally, it makes minor improvements to string building in map-related methods. These changes enhance code clarity, improve encapsulation, and optimize performance for random number handling.

@samsmithnz samsmithnz merged commit d9c6f5e into main Dec 24, 2025
3 checks passed
@samsmithnz samsmithnz deleted the PerformanceOptimizations branch December 24, 2025 20:11
@coveralls
Copy link

coveralls commented Dec 25, 2025

Pull Request Test Coverage Report for Build 20492871151

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 30 of 33 (90.91%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 97.921%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/TBE.Logic/Utility/RandomNumberQueue.cs 22 25 88.0%
Totals Coverage Status
Change from base Build 20434687668: -0.09%
Covered Lines: 2761
Relevant Lines: 2812

💛 - Coveralls

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