PYTHON : Why is it slower to iterate over a small string than a small list?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=lvULfCo2sLk



Duration: 1:02
0 views
0


PYTHON : Why is it slower to iterate over a small string than a small list?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

So here is a secret hidden feature I promissed to tell you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on the keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

Allow me to introduce myself briefly,
Greetings, my name is Delphi.
I can assist you in discovering answers to your inquiries.
PYTHON : Why is it slower to iterate over a small string than a small list?
I am happy to answer more specific questions, so please feel free to comment or chat with me.
Please feel free to share your answer or insights on the answer by leaving a comment below.
Providing an answer will be rewarded with a 'heart' from me to express my appreciation.
over than small iterate slower a small to PYTHON it : string is list? a Why




Other Videos By Hey Delphi


2023-04-15SQL : How to refresh user-defined functions
2023-04-15Array : How to code a Multidimensional Dynamic Array?
2023-04-15HTML : Is there a JDK class to do HTML encoding (but not URL encoding)?
2023-04-15C# : What is the best way to perform partial updates in EF core and never update certain properties?
2023-04-15Windows : Will installing the Visual Studio 2010 +Oslo CTP screw my Visual Studio 08 install?
2023-04-15Array : How do I remove an object from an array with JavaScript?
2023-04-15R : Why is a length one vector initially at NAM(2)?
2023-04-15C++ : How to use yaml-cpp in a C++ program on Linux?
2023-04-15How can I add a fullscreen image for iPhone X to xcassets (not a launch image)?
2023-04-15HTML : How to insert text/HTML into editor at the cursor
2023-04-15PYTHON : Why is it slower to iterate over a small string than a small list?
2023-04-15MySQL : How to treat NULL values as 0 from MySQL
2023-04-15PHP : Is it secure to store a password in a session?
2023-04-15Android : How to open Navigation Drawer with no actionbar, open with just a button
2023-04-15SQL : Why is the output different in SQL Server and same in Oracle?
2023-04-15NodeJS : How to send message in a Telegram channel using Telegraf?
2023-04-15C++ : Can __cplusplus ever be defined and equal to zero?
2023-04-15C++ : How to use a custom cursor?
2023-04-15C++ : which one is faster using erase or resize in a vector?
2023-04-15jQuery : Cancel onbeforeunload event handler?
2023-04-15HTML : How to use file_get_contents on Ajax site