Тёмный

Raymond Hettinger Modern Python Dictionaries A confluence of a dozen great ideas PyCon 2017 

PyCon 2017
Подписаться 20 тыс.
Просмотров 79 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@stoneshou
@stoneshou 7 лет назад
Raymond Hettinger - the brilliant man that always gets interrupted in tech talks
@yuzhou9893
@yuzhou9893 6 лет назад
by lunch
@bilbobatista3600
@bilbobatista3600 7 лет назад
te best python lecturer imo
@simonmasters3295
@simonmasters3295 5 лет назад
Absolutely #TheBest Bilbo
@cosmicallyderived
@cosmicallyderived 7 лет назад
One interesting thought about the compactness they discovered from Donald Knuth's indexing technique inspired from database work makes me think about the storage constraints and pressures the industry was in during his active period. Those pressures very likely drove him to devise a solution to best satisfy the needs of his time, but as it turns out when attempting to optimize along a dimension that's been perennial you may very well find it best to look at earlier solutions.
@muppalaneninitin
@muppalaneninitin 6 лет назад
Thank you for another very informative talk Raymond! A level of indirection and such reduction in memory and improvement in hash performance!
@malayagr
@malayagr 3 года назад
"All problems in computer science can be solved by another level of indirection." - David Wheeler.
@ugodonini6182
@ugodonini6182 6 лет назад
I find always something interesting to learn in Hettinger speech
@joshuafilbert3260
@joshuafilbert3260 5 лет назад
Wonderful lecture, lousy display format. Too much screen space for pycon logos and the slides are too small
@RoamingAdhocrat
@RoamingAdhocrat 3 года назад
Maybe 4:3 presentation with the video and logos on the right margin would be better
@bharatggaikwad
@bharatggaikwad 6 лет назад
Best lecture... 3.6 dictionary ... Thanks a lot Raymond Hettinger.
@minyakonga8897
@minyakonga8897 11 месяцев назад
If you run the script about instance dictionaries at begining in Python 3.11, it will print [280, 280, 280], it is same as Python 2.7, what happened?
@manoharchowdary1478
@manoharchowdary1478 2 года назад
Amazing talk, very informative..
@RoamingAdhocrat
@RoamingAdhocrat 3 года назад
"dr sheldon cooper from the big bang theory" - nice reference to the "the ice planet hoth from star wars" critique of that tedious show
@wschmidt22
@wschmidt22 7 лет назад
So good!
@victornoagbodji
@victornoagbodji 7 лет назад
amazing presenter, amazing talk!
@con-f-use
@con-f-use 7 лет назад
The links to the slides don't seem to have the slides...
@bobmvideos
@bobmvideos 7 лет назад
I haven't found the Sphinx page presented here, but the one for his talk at SF Holiday Meetup is here: dl.dropboxusercontent.com/u/3967849/sfmu2/_build/html/index.html
@SteelBlueVision
@SteelBlueVision 6 лет назад
404
@aoeu256
@aoeu256 5 лет назад
Hash lookup should be a CPU instruction haha. Lisp machines and small talk machines could do this....
@Verrisin
@Verrisin 4 года назад
23:10 - Can one not implement .hash() poorly for some class? Of course it would be unsafe.
@peterholzer4481
@peterholzer4481 2 года назад
Yes. It is entirely permissible to implement a hash method which always returns 42. Or one which uses only some fields of an object. Git is safe, because it has only a handful of fixed object types and those are controlled by the git developers. A Python program OTOH contains lots of classes implemented by the programmer and if the programmer bothers to implement a hash function at all it is far from certain that they implement one which is as good as SHA-1 over byte streams. So removing that equality test would indeed be very unsafe. (also 64 bits isn't that much, You would expect a collision for a hash of 4 billion entries, which is not impossible. 160 Bits (SHA-1) is *a lot* more.)
@yuzhou9893
@yuzhou9893 6 лет назад
lunch needs to be eliminated from pycon, so Raymond for once can speak longer.......
@ikickss
@ikickss 6 лет назад
Nah. This guy is kinda longwinded, so if they him, he will talk longer for less content.
@simonmasters3295
@simonmasters3295 5 лет назад
Longwinded? @@ikickss you lack #Discernment
@futurepython6774
@futurepython6774 2 года назад
python/django/mysql新教程: python基础:ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-g6RnSRDjd5M.html
@chawley650
@chawley650 6 лет назад
[25:58..26:02] shades of blockstore scanning for next free block and policy which followed
@johncongerton7046
@johncongerton7046 11 месяцев назад
Our Messiah
@rem0rt
@rem0rt 4 года назад
damn fantasy tales style is all over nowadays. so pure. just tell the subject please, no farytales.
@Chandelier-o9n
@Chandelier-o9n 2 года назад
评论👍支持
@pradeep422
@pradeep422 6 лет назад
33:49 lol wht?
@rurban
@rurban 7 лет назад
He speaks like python hash tables are the best of the field. They are not. They use now the same compaction trick as PHP, which saves space for big tables (but is not state of the art due to its added indirection), trash the key cache by storing the computed hash same as Perl (several benchmarks show recomputation or simplier checks are faster for smaller keys), and are generally still 5 years behind state of the art hash tables. They still use seperate chaining without even storing the chains as array (much faster), or move to front (state of the art with this old method). State of the art would be robin-hood or hopscotch hashing of course. Less hype and more technical content please.
@quantum-t
@quantum-t 6 лет назад
Wow, you seem to be smarter than he (no)
@MMABeijing
@MMABeijing 6 лет назад
@@quantum-t he was factual in his comment, unlike you. good job
@simonmasters3295
@simonmasters3295 5 лет назад
Assert Dec 2018 = today() 45,000 views, 600 likes, 20 comments #rurban made his comment a year ago Raymond spoke at PyConn in May 2017 TheXmaximX Max and MMABejing made comments within last 3 months *** Q: Do We Have A Development Team ? *** What is the "temperature" of the RU-vid comments section for thisVideo?
@seanspicer516
@seanspicer516 5 лет назад
ah the time honored tradition (inherited from our ancestors) of the "technical one-up-ance". personally, if it isn't going to cause some harm due to misinformation, i just cede that the other is smarter. "go-in-dumb". bc u kno, screw conformance.
@GordonAitchJay
@GordonAitchJay 5 лет назад
Which languages implement state of the art hash tables? It'd be interesting to know how performant V8's hash tables are compared with Python's.
@MrEnvy999
@MrEnvy999 6 лет назад
kuh
@nickolasnielson4727
@nickolasnielson4727 3 года назад
te best python lecturer imo
Далее
Brandon Rhodes   The Dictionary Even Mightier   PyCon 2017
47:22
Fastest Build⚡ | Doge Gaming
00:27
Просмотров 1,3 млн
Бокс - Финты Дмитрия Бивола
00:31
Amjith Ramanujam   Awesome Command Line Tools   PyCon 2017
28:42
Loop like a native: while, for, iterators, generators
29:15
Benny Bauer   Python in The Serverless Era   PyCon 2017
30:47
Raymond Hettinger, Keynote on Concurrency, PyBay 2017
1:13:53