Loading tutorials
str stores code points, not bytes. It also assumes you can read Big-O notation. Here you will learn how equality and ordering work, what they cost, and where they give surprising answers.3 min readstr is a sequence of Unicode code points and that UTF-8 encodes each code point as 1 to 4 bytes. It also assumes you are comfortable with indexing and slicing. Here you will see why "one character per position" still fails for text that people read.3 min read