home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 3
/
AACD03.BIN
/
AACD
/
Programming
/
sofa
/
archive
/
SmallEiffel.lha
/
SmallEiffel
/
misc
/
benchmarks
/
gc
/
MFSO
/
bench.e
< prev
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
|
397 b
|
28 lines
class BENCH
creation
make
feature
make is
local
apple: APPLE
apple_array: ARRAY[APPLE]
i, limit: INTEGER
do
-- limit := 20_000_000 -- large config
limit := 2_000_000 -- small config
!!apple_array.make(1, limit)
from
i := 1
until
i > limit
loop
!!apple.make(i)
apple_array.put(apple, i)
i := i + 1
end
end
end