From: amitp at Xenon.Stanford.EDU (Amit Patel)
Date: 30 Apr 1999 17:55:35 GMT
Subject: Python IS slow ! [was] Re: Python too slow for real world
References: <613145F79272D211914B0020AFF6401914DAD8@gandalf.digicool.com> <19990430080805.B776752@vislab.epa.gov> <3729A9F3.75B2692B@appliedbiometrics.com> <m3u2tyw3bo.fsf@atrus.jesus.cam.ac.uk>
Message-ID: <7gcqqn$p4b$1@nntp.Stanford.EDU>
X-UID: 1338                                                  

 Michael Hudson  <mwh21 at cam.ac.uk> wrote:
| 
| A word of warning: this code is nasty, *nasty*, NASTY.  Possibly the
| most horrible thing you will see perpetrated in Python this year. It
| applies regular expressions to strings of bytecode...

[code removed]

| def make_adder(n):
|     def adder(x):
|         return x+n
|     return bind_locals(adder)




Yow.

I think you are INSANE.  :-)  I thought bind_locals was impossible to
implement in Python, and you go and implement it.  Eek!




  Amit, too afraid to use bind_locals




