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

Console refactor #393

Merged
merged 9 commits into from
Jun 3, 2024
Merged

Console refactor #393

merged 9 commits into from
Jun 3, 2024

Conversation

richarddavison
Copy link
Contributor

@richarddavison richarddavison commented May 29, 2024

Issue # (if available)

Fixes: #341
Related: #351

Description of changes

Refactor console module to use a recursive implementation (we're limiting depth to 4 levels) instead of a non-recursive to simplify implementation and improve performance. This rewrite also removes a ton of branching for everything from indentation to ascii colors etc.

Checklist

  • Created unit tests in tests/unit and/or in Rust for my feature if needed
  • Ran make fix to format JS and apply Clippy auto fixes
  • Made sure my code didn't add any additional warnings: make check
  • Updated documentation if needed (API.md/README.md/Other)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@richarddavison richarddavison marked this pull request as ready for review June 3, 2024 07:16
@richarddavison richarddavison merged commit 40670a0 into main Jun 3, 2024
5 checks passed
@richarddavison richarddavison deleted the console-refactor branch June 3, 2024 08:30
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.

Console.log does not to print header values
1 participant