Strings are immutable in Go. So if you append to a string, what it has to create a whole new string every time. String builder on the other hand is mutable, so it's going to be more memory efficient.
Holy crap! I thought I was having a stroke whenever I saw this solution. Without your comment I probably would have quit trying to learn JavaScript. xD
what?????
Im laughing!
fixed
nice one
Fixed in this fork
?????????????????????????????????????????????????????
I can respect this. Just please don't ask me to review your code for PR.
Thank you for the clarification! 😊
Strings are immutable in Go. So if you append to a string, what it has to create a whole new string every time. String builder on the other hand is mutable, so it's going to be more memory efficient.
bro has no life xd
Bro why u use ASCII?
Now we have UTF-8
early returning! smart
nice but unreadable (for me) :D
Holy crap! I thought I was having a stroke whenever I saw this solution. Without your comment I probably would have quit trying to learn JavaScript. xD
Loading more items...