Covers memory layout of string data type, its relationship with rune slices and byte slices in Golang. We also discuss the conversion between these types, the compiler optimizations on these conversions and the strings.Builder object.
Ascii, unicode and UTF-8 : • ASCII, Unicode, UTF-32, UTF-8 explain...
0:00 Raw vs Interpreted string literals
1:40 String header & Memory Layout
2:37 Rune data type
4:45 Strings are Immutable
5:03 Slicing
5:22 Range Loop
6:50 Unicode replacement character
7:37 String - Bytes - Runes conversions
9:57 Compiler optimizations
11:02 String concatenation
12:33 strings.Builder
12:44 strings.Builder vs bytes.Buffer
Смотрите видео Strings, Bytes and Runes | Golang | intermediate level онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sreekanth 23 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,929 раз и оно понравилось 193 людям.