Skip to content

Remove debug print#375

Merged
tompng merged 1 commit intoruby:masterfrom
tompng:remove_unused_debug_print
Jul 14, 2025
Merged

Remove debug print#375
tompng merged 1 commit intoruby:masterfrom
tompng:remove_unused_debug_print

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jul 14, 2025

VPrint is very useful for debugging.
But debug prints remained in source code are useless because:

  • Too many debug prints for debugging.
  • Information is missing. While debugging a specific case, I need to add more printf and VPrints.
  • It's just a noise finding VPrint by grep added in a specific print-debugging.

Debug print in VpSqrt and VpPowerByInt are unchanged. (to avoid conflict)

VPrint is very useful for debugging.
But debug prints remained in source code are useless because:
- Too many debug prints for debugging.
- Information is missing. While debugging a specific case, I need to add more printf and VPrints.
- It's just a noise finding VPrint by grep added in a specific print-debugging.
@tompng tompng merged commit 0f0b4ed into ruby:master Jul 14, 2025
125 of 126 checks passed
@tompng tompng deleted the remove_unused_debug_print branch July 14, 2025 16:51
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