Brandon Rhodes: All Your Ducks In A Row: Data Structures in the Std Lib and Beyond - PyCon 2014

  Рет қаралды 28,831

PyCon 2014

PyCon 2014

Күн бұрын

Speaker: Brandon Rhodes
"Why are Python programmers crazy about lists and dictionaries, when other languages tout bitmaps, linked lists, and B+ trees? Are we missing out? Come learn how data structures are implemented on bare metal, how to select the right data structure, how the list and dictionary cover a wide swath of use cases, and when to dip into the Standard Library or a
third-party package for an alternative."
Slides can be found at: speakerdeck.com/pycon2014 and github.com/PyCon/2014-slides

Пікірлер: 16
@walkerboyle1602
@walkerboyle1602 9 жыл бұрын
Starts at 5:30
@georgplaz
@georgplaz 2 жыл бұрын
but please don't forget to still put your phones on silent, as reminded at 3:58
@shiyaoma8659
@shiyaoma8659 9 жыл бұрын
Fantastic. I was totally amazed by his speech technique. Looking forward to a more indepth talk by him.
@davidgeorge4944
@davidgeorge4944 5 жыл бұрын
this is just one of the best python talks like ever
@oknows2
@oknows2 8 жыл бұрын
Tremendous talk. Very useful for understanding where all the data structures seem to be hiding in Python. Excellent historical insights as well.
@ansumanbebarta3750
@ansumanbebarta3750 8 жыл бұрын
Awesome video!!!
@pranjalkumar9378
@pranjalkumar9378 6 жыл бұрын
Awesome explaination in the last four minutes. He just made me realise the power of lists in python.
@MCRuCr
@MCRuCr 5 жыл бұрын
25:42 I am wondering: del s[len(s)] will cause a IndexError, won't it?
@paroxyzm21
@paroxyzm21 9 жыл бұрын
At 25:38 when he says that every item has to be shifted when doing pop(0) I wonder If it is posible to only update the address in the original data structure to point to the_same address only opdated by +1. This would result in more wasted space, but would not require updating of "n" addresses of the array... Moreover you would get an "amortized" from the head version of a list... Am I thinking correctly?
@chizerph
@chizerph 5 жыл бұрын
This would introduce memory fragmentation, a bunch of few word long free spaces that can't really be reutilized, effectively leaking memory and making the allocator's life difficult.
@whalesalad
@whalesalad 10 жыл бұрын
Tip: Skip to 8:00 for the beginning of the talk.
@izdi00
@izdi00 10 жыл бұрын
Lenin! :D
@tizbr
@tizbr 9 жыл бұрын
fast paced, a bit hard to follow
@thimkful
@thimkful 10 жыл бұрын
"Really outstanding talk. Starts at 5:30." seems to be a common comment. I would not know for certain, but I rather doubt it. Consider: the production values (and respect for the user's time) are so low as to present nothing but an opening screen and noise, for the first five minutes of a 37 minute video. That doesn't even measure up to generic youtube noise. Why would I think the content, assuming there is any, might be any better? No matter, I guess. Browsers have Back butons.
Alex Gaynor: Fast Python, Slow Python - PyCon 2014
36:11
PyCon 2014
Рет қаралды 62 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 131 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Brandon Rhodes   The Dictionary Even Mightier   PyCon 2017
47:22
PyCon 2017
Рет қаралды 31 М.
Ned Batchelder: Getting Started Testing - PyCon 2014
42:44
PyCon 2014
Рет қаралды 57 М.
Microsoft FINALLY killed it
6:45
Alex Ziskind
Рет қаралды 581 М.
Loop like a native: while, for, iterators, generators
29:15
Next Day Video
Рет қаралды 117 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 138 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 110 М.
Allen Downey: Bayesian statistics made simple - PyCon 2014
3:15:29
Susan Tan: Python in the Browser: Intro to Brython - PyCon 2014
27:15
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 108 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 216 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,9 МЛН