On Monday, 27 November 2023 at 13:12:54 UTC+1 fliter wrote: But why not optimize byte slicing to string conversion together?
Try to implement that conversion and you'll see. Note that strings are immutable, even if converted from a byte slice (which are by their very nature) mutable. Good luck in automatic proving that no other thing mutates the converted-from slice. V. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/037696c9-94e9-4dee-beb1-f9e2f385cfe0n%40googlegroups.com.