Skip to content

Conversation

@djmaxus
Copy link
Collaborator

@djmaxus djmaxus commented Dec 12, 2025

To speed up tests.

@djmaxus djmaxus self-assigned this Dec 12, 2025
Copilot AI review requested due to automatic review settings December 12, 2025 10:24
@djmaxus djmaxus added bug Something isn't working documentation Improvements or additions to documentation optimisation Improvements in the performance of the code labels Dec 12, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the computational load of the demo.m function to speed up test execution. The demo.m file serves as both a demonstration and an integration test (called by test.m), so reducing its grid size directly improves test performance.

  • Reduced grid dimensions from [80, 120, 35] (336,000 cells) to [5, 3, 2] (30 cells) - approximately 11,000x reduction
  • Changed mask from dynamically calculated size (336 cells) to a fixed size of 10 cells
  • These changes maintain valid configuration (mask size < total cells) while dramatically reducing computation time

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@djmaxus djmaxus merged commit c7fdb0d into main Dec 12, 2025
14 checks passed
@djmaxus djmaxus deleted the djmaxus-patch-1 branch December 12, 2025 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation optimisation Improvements in the performance of the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant