Inefficient code generated from ToString::to_string()
for bool
#106611
Labels
C-bug
Category: This is a bug.
ToString::to_string()
for bool
#106611
The
ToString::to_string()
implementation forbool
generates over 700 lines of LLVM IR and 500 lines of AArch64 assembly!Using
format!
withDisplay
orDebug
is also unnecessarily inefficient.https://godbolt.org/z/3M4jGYE9d
Version
The text was updated successfully, but these errors were encountered: