Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace g_breakpoints with a more robust breakpoint container. #4

Open
joekain opened this issue Jun 25, 2015 · 0 comments
Open

Replace g_breakpoints with a more robust breakpoint container. #4

joekain opened this issue Jun 25, 2015 · 0 comments

Comments

@joekain
Copy link
Owner

joekain commented Jun 25, 2015

Currently, the breakpoint module uses a fixed size array, g_breakpoints, to store breakpoints. This array and its usage have a number of limitations:

  • Running out of space in the array is not handle gracefully
  • Even when breakpoints are deleted the space is not reclaimed
  • Enumeration of breakpoints is done manually by iterating over the array which leads to duplication
  • Searches through the array are linear which could be made faster given a better structure

Acceptance Criteria:

  • A new test exists that creates and destroys breakpoints over and over again such that at least 1000 breakpoints are created.
  • The new test passes.
  • All existing tests pass
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

No branches or pull requests

1 participant