TIL a faster way to remove duplicates from a #python iterable, preserving order (in https://youtu.be/5xArPgQMJls?t=2149 by
@SebaWitowski
)
def unique_items(iterable):
# Requires hashable items, Python 3.6+
return dict.fromkeys(iterable)
@SebaWitowski
)
def unique_items(iterable):
# Requires hashable items, Python 3.6+
return dict.fromkeys(iterable)
YouTube
Sebastian Witowski - Writing Faster Python 3
Strona PyConPL: https://pl.pycon.org
FB: http://pl.pycon.org/
Linkedin: https://www.linkedin.com/company/pyco...
Twitter: https://twitter.com/pyconpl
Did you know that Python preallocates integers from -5 to 257? Reusing them 1000 times, instead of allocating…
FB: http://pl.pycon.org/
Linkedin: https://www.linkedin.com/company/pyco...
Twitter: https://twitter.com/pyconpl
Did you know that Python preallocates integers from -5 to 257? Reusing them 1000 times, instead of allocating…
Today, around 15:25 GMT +2, I’ll present my talk at
@pyconit
about debugging Python applications inside the docker and k8s cluster. You can watch it online using the stream link https://2024.pycon.it/en/streaming or attend (Room Lasagna).
#pycon #pyconit #k8s
@pyconit
about debugging Python applications inside the docker and k8s cluster. You can watch it online using the stream link https://2024.pycon.it/en/streaming or attend (Room Lasagna).
#pycon #pyconit #k8s
2024.pycon.it
Streaming | PyCon Italia
Join PyCon Italia from the 22th to the 25th of May 2024 in Florence, Italy!