Skip to content

Conversation

@LouieSlocombe
Copy link
Contributor

Memory test flag is stuck on for the script version #5

Copilot AI review requested due to automatic review settings January 15, 2026 00:18
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 removes the memory usage tracking functionality from the v5 script version of the assembly algorithm. The memory test flag was getting stuck on, causing unwanted memory profiling behavior.

Changes:

  • Removed the maxMemoryUsage() function that read Linux-specific /proc/self/status memory information
  • Removed the call to maxMemoryUsage() in the main function that was conditionally compiled for Linux
Comments suppressed due to low confidence (1)

v5/main.cpp:1

  • The memTest flag in v5/globalPrimitives.h line 31 is now unused after removing the memory tracking functionality. Consider removing this flag from the global primitives and updating the related flag parsing logic in v5/ioflag.h (lines 47-53, 84-85) and documentation in v5/help.h (line 15) to avoid confusion and maintain code cleanliness.
#include <iostream>

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

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.

1 participant