Из-за периодической блокировки нашего сайта РКН сервисами, просим воспользоваться резервным адресом:
Загрузить через dTub.ru Загрузить через ycliper.com Загрузить через ClipSaver.ruУ нас вы можете посмотреть бесплатно Python lists remember what you did to them или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Роботам не доступно скачивание файлов. Если вы считаете что это ошибочное сообщение - попробуйте зайти на сайт через браузер google chrome или mozilla firefox. Если сообщение не исчезает - напишите о проблеме в обратную связь. Спасибо.
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
Two equal lists can take differrent amounts of memory! Two Python lists of the same size can take different amounts of memory, even if they contain exactly the same elements. A larger list can even take less memory than a smaller list. How can this be? Lists appear to remember more than just their elements, and somehow contain some information of their history. In this video we investigate this phenomenon. We see what the system getsizeof function returns and how the internal structure of a list is represented in order to find the answer. ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosS... libcst: https://libcst.readthedocs.io/en/late... AST linting vid: • Python AST Parsing and Custom Linting Structural pattern matching vid: • The Hottest New Feature Coming In Python 3... SUPPORT ME ⭐ --------------------------------------------------- Patreon: / mcoding Paypal: https://www.paypal.com/donate/?hosted... Other donations: https://mcoding.io/donate Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, John Martin, Casey G BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: / discord Github: https://github.com/mCodingLLC/ Reddit: / mcoding Facebook: / james.mcoding CHAPTERS --------------------------------------------------- 0:00 Intro 1:01 Let's investigate 3:04 Under the hood of a list 4:23 How sys.getsizeof is calculated 5:06 Capacity 6:13 Why capacity != length 7:08 Geometric resizing 7:34 The answer in terms of capacities 9:19 Reality check 9:49 Thanks