Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41899
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Performance of int/long in Python 3 |
| Date | 2013-03-26 09:18 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-7EC4AB.09182526032013@70-1-84-166.pools.spcsdns.net> (permalink) |
| References | <CAPTjJmouUzXNr4Oq==LYB1UZ2UQb13Y6vTHGGzuzNXorNthjYg@mail.gmail.com> <mailman.3705.1364253727.2939.python-list@python.org> <5150e900$0$29998$c3e8da3$5496439d@news.astraweb.com> <roy-1461D1.20550325032013@70-1-84-166.pools.spcsdns.net> <51512bb5$0$29973$c3e8da3$5496439d@news.astraweb.com> |
In article <51512bb5$0$29973$c3e8da3$5496439d@news.astraweb.com>, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > On Mon, 25 Mar 2013 20:55:03 -0400, Roy Smith wrote: > > > In article <5150e900$0$29998$c3e8da3$5496439d@news.astraweb.com>, > > Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > > > >> Also, speaking as somebody who remembers a time when ints where not > >> automatically promoted to longs (introduced in, Python 2.2, I think?) > >> let me say that having a single unified int type is *fantastic*, > > > > And incredibly useful when solving Project Euler problems :-) > > > > [I remember when strings didn't have methods] > > No string methods? You were lucky. When I were a lad, you couldn't even > use "" delimiters for strings. > > >>> "b string" > Parsing error: file <stdin>, line 1: > "b string" > ^ > Unhandled exception: run-time error: syntax error > > > Python 0.9.1. OK, you've got me beat. For Python. Am I going to have to go dig out my old IBM-1130 assembler decks?
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Performance of int/long in Python 3 Ethan Furman <ethan@stoneleaf.us> - 2013-03-25 16:16 -0700
Re: Performance of int/long in Python 3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-26 00:17 +0000
Re: Performance of int/long in Python 3 Chris Angelico <rosuav@gmail.com> - 2013-03-26 11:28 +1100
Re: Performance of int/long in Python 3 Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-03-26 00:49 +0000
Re: Performance of int/long in Python 3 Roy Smith <roy@panix.com> - 2013-03-25 20:55 -0400
Re: Performance of int/long in Python 3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-26 05:01 +0000
Re: Performance of int/long in Python 3 Chris Angelico <rosuav@gmail.com> - 2013-03-26 17:12 +1100
Re: Performance of int/long in Python 3 Roy Smith <roy@panix.com> - 2013-03-26 09:18 -0400
csiph-web