61 posts
Posted 12 October 2013 - 06:19 AM
RedTest
Want to know why your rednet is slow?
Then Try This program now!
The aim of this program is to test the latency and get the bit rate of your network.
Screenshots
Spoiler
Graphical Version
Text Version
Server
make sure that the wireless modem is on back.
Graphical Speedtest link
http://pastebin.com/enqXAuEdServer Link
http://pastebin.com/ZiKu7W9RText Version
http://pastebin.com/iM1GGfJZAlso, Create a file named SpeedFile in the location of program with a size of 1MB.
321 posts
Location
Melbourne, Australia
Posted 12 October 2013 - 07:42 AM
I don't see how this could be of use…
570 posts
Location
Germany
Posted 12 October 2013 - 08:43 AM
I can't see any use of this and the server side will crash after 256 rednet messages because there will be a stackoverflow.
Edit: fixed typo that was made by the autocorrection on my iPad(it changed rednet to redneck)
375 posts
Location
USA
Posted 12 October 2013 - 10:09 AM
the server side will crash after 256 redneck messages because there will be a stackoverflow.
Correct me if I'm wrong, but it looks like it would get compiled to use tail recursion, since the
gs call always happens at the end of control flow in the function.
Edit: Nevermind, the calls would have to be changed to
return gs() instead of just
gs().
808 posts
Posted 12 October 2013 - 01:16 PM
It may be useless but it's an interesting performance benchmark.
167 posts
Posted 12 October 2013 - 05:09 PM
I can't see any use of this and the server side will crash after 256 redneck messages because there will be a stackoverflow.
lol'd. Those dang redneck messages.
892 posts
Location
Where you'd least expect it.
Posted 13 October 2013 - 10:36 AM
I can't see any use of this and the server side will crash after 256 redneck messages because there will be a stackoverflow.
Tell me MORE!!!
Also, I see how this could have SOME use on a laggy server.
8 posts
Posted 14 December 2013 - 04:39 PM
I can't see any use of this and the server side will crash after 256 rednet messages because there will be a stackoverflow.
Edit: fixed typo that was made by the autocorrection on my iPad(it changed rednet to redneck)
It only allows up to 256 modems? I thought cc max number was set bit java architecture not locked by 16 bits.
8543 posts
Posted 15 December 2013 - 03:07 AM
No. It would crash because they're trying to use recursion instead of an actual infinite loop, so they blow out the call stack after 256 messages (since that's what causes it to recurse).
1610 posts
Posted 15 December 2013 - 11:21 PM
Hmmm… I'm interested to see how this would work with
ApeNet if I run
rednet = apenet
first. We may have an actual use! :P/>/>/>
Edited on 15 December 2013 - 10:22 PM