Update Example: Let's make a giant string · python3/wtfpython@ea29aa0 · GitHub
Skip to content

Commit ea29aa0

Browse files
committed
Update Example: Let's make a giant string
* Add another function `add_bytes_with_plus` actually illustrating quadratic behavior for the `+=` operator. * Add explaination for linear behavior due to `+=` optimizations in case of strings. * Change the order of examples (move string interning example just before the giant string example). Closes satwikkansal#38
1 parent 31d4382 commit ea29aa0

1 file changed

Lines changed: 66 additions & 29 deletions

File tree

README.md

Lines changed: 66 additions & 29 deletions

0 commit comments

Comments
 (0)