home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 3
/
AACD03.BIN
/
AACD
/
Programming
/
sofa
/
archive
/
SmallEiffel.lha
/
SmallEiffel
/
misc
/
benchmarks
/
gc
/
LkRORnd
/
bench.e
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1999-06-05
|
453 b
|
37 lines
class BENCH
creation make
feature
array_int: ARRAY[INTEGER];
make is
local
random: STD_RAND;
size: INTEGER;
i: INTEGER;
do
!!random.with_seed(74363);
from
i := 150;
until
i = 0
loop
from
size := 0
until
size = 5000
loop
!!array_int.make(0,random.last_integer(5000));
random.next;
size := size + 1
end
i := i - 1
end
end
end