RFC: Add a mode to not generate debug! statements, use by default for core/std #4397
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
I just looked at the source for any pipes code and a huge amount of
debug!
stuff in the pipes code is getting monomorphized, inlined, and written into every single send and recv in all user code. I propose disabling generation ofdebug!
by default; it's purely a hazard for core and std.The text was updated successfully, but these errors were encountered: