On Tue, 19 Aug 2003, Greg Ewing wrote: > Michal Wallace <michal at sabren.com>: > > > As a special bonus, it currently runs dog slow! The > > microthreads example runs about 8-9 times slower on > > pirate than on regular python. But that's not parrot's > > fault: the generated code is completely unoptimized. > > It's fair, though -- the regular Python's bytecode is > completely unoptimised, too. :-) Yeah, but as I told someone else who made this point, it's really not a fair fight. Running something as simple as "x=x+x" through pirate currently allocates at least 4 new objects (possibly up to 8, depending what x is) and does three separate searches through the frame stack for the value of x. And that's just off the top of my head... :) Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: michal at sabren.com hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4