# Maybe it's not Python that sucks, maybe it's my code

- Institution: CERN
- Department: IT Lightning Talks (ITLT)
- Speaker: Sebastian WITOWSKI
- Year: 2015
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3017407)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

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..

0:00:00 Slide 1

0:00:12 Slide 2

0:00:36 Slide 3

0:00:44 Slide 4

0:01:09 Slide 5

0:01:31 Slide 6

0:01:38 Slide 7

0:01:52 Slide 8

0:02:03 Slide 9

0:02:12 Slide 10

0:02:37 Slide 11

0:02:42 Slide 12

0:02:57 Slide 13

0:03:09 Slide 14

0:03:26 Slide 15

0:03:31 Slide 16

0:03:35 Slide 17

0:03:43 Slide 18

0:03:52 Slide 19

0:04:00 Slide 20

## Lectures

1. [Maybe it's not Python that sucks, maybe it's my code](https://invisiblenetwork.ai/learn/cern/3017407/618bf259e8ac), 7 min (CERN's player)
