Add glyph.h (Debug Visualizer) - #174
Merged
Merged
Conversation
glyph.h (Debug Visualizer)
Contributor
Greptile SummaryAdds an opt-in debug visualization header for printing recurring glyphs during long-running algorithms.
Confidence Score: 5/5The PR appears safe to merge, with no accepted new findings or outstanding blocking review threads. The enabled header now includes its required declarations, and the macro rename has no repository callers to break. Lightning11wins dismissed the conditional-caller concern without further context; that resolved thread does not lower merge confidence.
|
| Filename | Overview |
|---|---|
| centrallix-lib/include/glyph.h | Introduces the optional glyph visualizer and updates its dependencies, naming, and interval validation. |
Reviews (2): Last reviewed commit: "Require interval to be one or more." | Re-trigger Greptile
gbeeley
approved these changes
Sep 24, 2026
gbeeley
left a comment
Member
There was a problem hiding this comment.
Looks good, a future improvement might be to make interval time based instead of modulus based, and for glyph() to NOP if the interval has not yet elapsed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
centrallix-lib/include/glyph.h, a set of macros for printing a repeating characters, useful for visualizing how long-running algorithms are progressing.Glyphs are compiled out unless
ENABLE_GLYPHSis defined, which is left commented out.Split out of #77 at review request.