By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,688 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

Looking for Benchmarklets to improve pyvm

P: n/a
Hi.

pyvm is a program that can run python 2.4 bytecode and most
of the times produce the expected output. See

http://students.ceid.upatras.gr/~sxanth/

I'm collecting small testlets to benchmark it, discover bottlenecks
and improve it. They should be small and not use any crazy modules.
Only [sys, os, itertools, thread, threading, math, random] for now.

Basically, stuff that has appeared in c.l.py will be great
(like xah lee's "partition list be equivalence", etc)

Send!

Stelios
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Stelios,
Newbie here ("new" to the language and scripting in general).
I'm trying to figure out what you mean by bytecode. Do you mean
a virtual python environment that can be hosted by any anonymous
operating system? For example, you want to run Python programs on
BEOS so you crank up its version of PYVM and load a Python source code
and run it?

Or do you mean you want Python that's been compiled down to something
like p-code on my machine, then you receive the p-code that you can
expect to run?

Is pyvm your own work?

Has anyone computed the digits of pi (3.14159265) in Python?
That might be a good application for string processing.
Jim in Indiana USA

Jul 18 '05 #2

P: n/a
coffeebug wrote:

Newbie here ("new" to the language and scripting in general).
I'm trying to figure out what you mean by bytecode. Do you mean
a virtual python environment that can be hosted by any anonymous
operating system? For example, you want to run Python programs on
BEOS so you crank up its version of PYVM and load a Python source code
and run it?


The pyc files. See module 'compile' and module 'dis'.
Stelios
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.