On 19 Oct 2018 18:09, Pat Martin <wpmar...@gmail.com> wrote: TLDR; How do you figure out if code is inefficient (if it isn't necessarily obvious) and how do you find a more efficient ----- Hi, check this: https://docs.python.org/3/library/profile.html. Also, the timeit module is handy for smaller snippets. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
- [Tutor] (no subject) Nathantheweird1
- Re: [Tutor] (no subject) Alan Gauld via Tutor
- Re: [Tutor] (no subject) Mats Wichmann
- [Tutor] (no subject) naoki_morihira
- Re: [Tutor] (no subject) Steven D'Aprano
- Re: [Tutor] (no subject) Mats Wichmann
- Re: [Tutor] (no subject) shubham goyal
- [Tutor] (no subject) erich callahana
- Re: [Tutor] (no subject) Alan Gauld via Tutor
- [Tutor] (no subject) Pat Martin
- Re: [Tutor] (no subject) Albert-Jan Roskam
- [Tutor] (no subject) Jesse Stockman
- Re: [Tutor] (no subject) boB Stepp
- Re: [Tutor] (no subject) Bob Gailer
- [Tutor] Turtle graphics - was Re: (no ... Alan Gauld via Tutor
- [Tutor] (no subject) Asad
- Re: [Tutor] How to print lines within ... Alan Gauld via Tutor
- [Tutor] (no subject) Stealth Fleet
- Re: [Tutor] (no subject) Steven D'Aprano
- Re: [Tutor] (no subject) Avi Gross
- [Tutor] (no subject) Whitney Eichelberger via Tutor