Cargando…
Maybe it's not Python that sucks, maybe it's my code
<!--HTML-->Did you know that in Python integers from -5 to 257 are preallocated? Reusing them 1000 times, instead of allocating memory for a bigger integer, saves a whopping 1 millisecond of code's execution time! Isn't that thrilling? Well, before you get that crazy, learn some basi...
Autor principal: | |
---|---|
Lenguaje: | eng |
Publicado: |
2015
|
Materias: | |
Acceso en línea: | http://cds.cern.ch/record/2030954 |
_version_ | 1780947450243055616 |
---|---|
author | WITOWSKI, Sebastian |
author_facet | WITOWSKI, Sebastian |
author_sort | WITOWSKI, Sebastian |
collection | CERN |
description | <!--HTML-->Did you know that in Python integers from -5 to 257 are preallocated? Reusing them 1000 times, instead of allocating memory for a bigger integer, saves a whopping 1 millisecond of code's execution time! Isn't that thrilling? Well, before you get that crazy, learn some basic performance tricks that you can start using today. |
id | cern-2030954 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2015 |
record_format | invenio |
spelling | cern-20309542022-11-02T22:13:28Zhttp://cds.cern.ch/record/2030954engWITOWSKI, SebastianMaybe it's not Python that sucks, maybe it's my codeIT Lightning Talks: session #6IT Lightning Talks (ITLT)<!--HTML-->Did you know that in Python integers from -5 to 257 are preallocated? Reusing them 1000 times, instead of allocating memory for a bigger integer, saves a whopping 1 millisecond of code's execution time! Isn't that thrilling? Well, before you get that crazy, learn some basic performance tricks that you can start using today.oai:cds.cern.ch:20309542015 |
spellingShingle | IT Lightning Talks (ITLT) WITOWSKI, Sebastian Maybe it's not Python that sucks, maybe it's my code |
title | Maybe it's not Python that sucks, maybe it's my code |
title_full | Maybe it's not Python that sucks, maybe it's my code |
title_fullStr | Maybe it's not Python that sucks, maybe it's my code |
title_full_unstemmed | Maybe it's not Python that sucks, maybe it's my code |
title_short | Maybe it's not Python that sucks, maybe it's my code |
title_sort | maybe it's not python that sucks, maybe it's my code |
topic | IT Lightning Talks (ITLT) |
url | http://cds.cern.ch/record/2030954 |
work_keys_str_mv | AT witowskisebastian maybeitsnotpythonthatsucksmaybeitsmycode AT witowskisebastian itlightningtalkssession6 |