Using Python string handling

Strings are notoriously bad allocations of memory repeatedly as slight changes are made to the string. Furthermore, even small things such as capitalizing a letter in a larger string means a reallocation. Best off to process an entire string, such as capitalizing, in one step as we reduce the reallocation to one shot.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.186.164