Vladimir

16%
Flag icon
Since Python 3.3, when creating a new str object, the interpreter checks the characters in it and chooses the most economic memory layout that is suitable for that particular str: if there are only characters in the latin1 range, that str will use just one byte per code point. Otherwise, two or four bytes per code point may be used, depending on the str.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview