What's new?
|
Help
|
Directory
|
Sign in
psychotic
Pure Python code optimizer
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
Source Path:
svn
/
trunk
/
sort.py
r16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import random
import sys
import psychotic
psychotic.full()
def sorter(n):
data = [random.randint(0, n) for i in xrange(0, n)]
data = sorted(data)
if __name__ == "__main__":
sorter(int(sys.argv[1]))
Show details
Hide details
Change log
r2
by dangoor on Mar 31, 2008
Diff
initial import
Go to:
/trunk
/trunk/MANIFEST
/trunk/README.txt
/trunk/fact.py
/trunk/images
...k/images/ConstantTimeBarrier.jpg
...k/images/ConstantTimeBarrier.png
/trunk/images/dingo.jpg
/trunk/images/psychotic.png
/trunk/psychotic
/trunk/psychotic/__init__.py
/trunk/psychotic/alysis.py
/trunk/psychotic/dingo.py
/trunk/setup.py
/trunk/sort.py
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 218 bytes, 14 lines
View raw file