⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (591 Bytes)
Feature #9528
» run_demo.bash
shows, how to run the demo -
martin_vahi (Martin Vahi)
, 11/09/2014 06:34 AM
#!/usr/bin/env bash
#==============================================================================
time
./the_code.rb 10000
time
./the_code.rb 10000 f
time
./the_code.rb 10000 f f
echo
""
echo
"For 100k the time difference between the 2 versions is"
echo
"roughly 2s versus 20s on 3GHz AMD Athlon2. The command for copy-pasting:"
echo
""
echo
" time ./the_code.rb 100000 # simplistic"
echo
" time ./the_code.rb 100000 f # proposed"
echo
""
echo
"Thank You for trying out this demo. :-) "
echo
""
#==============================================================================
« Previous
1
2
Next »
(2-2/2)
Loading...