From: Stuart S. <st...@me...> - 2001-08-05 03:58:25
|
I ran pystone under Jython with >>>execfile(".../pystone.py"); on my iPAQ, and got time=90.852 110.069 Pystone but I'm using SaveJe XE (0.1.1 beta, see www.savaje.com), and Java 1.3.0 (Jython 2.0), on the 3635. Interestingly enough, Jython is apparently the only development environment currently available within SavaJe XE (on the iPAQ and NetBook platforms). It will run compiled Java 2 SE applications (has a JRE), but there is no compiler (JDK). Just my handy dandy Jython interpreter... (thank you Finn!) Stuart Brian Zhou wrote: > If you got standard Python 2.1.1, copy lib/test/__init__.py to your jython > directory. This makes all files under test/ available as modules. If you > don't, it's actually a dummy one-line file, so I think touch a new one will > do too: > > # Dummy file to make this directory a package. > > Then, from J9 Console > > Jython 2.1a3 on java1.2.2 subset (JIT: null) > Type "copyright", "credits" or "license" for more information. > >>> from test import pystone > >>> pystone.main() > Pystone(1.1) time for 10000 passes = 205.544 > This machine benchmarks at 48.6514 pystones/second > >> > > Hope your iPaq is faster than mine ;-) > > -Brian |