-
Help me learn Ruby/Ruby on Rails
sources.foreach { |link| browser.open(link) } puts "profit"
- i'm so suprised
-
multiple ints
this is a java gore thread
-
I summon thee; Users of Black Magic
can you give me directions, i can't see it
-
My TWC Judgement
same goes for Maldesto
-
Hashmaps
Your reasoning is understandable but it's pretty irrelevant in this case. It's never wrong to care about performance though, haha.
-
Hashmaps
Except... Having constant-time lookups is not necessary in this case. RS scripting should not care about lookup efficiency in most cases, since all delay comes from the game itself. Also, I seriously doubt the OP will continually poll for available worlds; once he finds an available one, he will hop there. In the meantime, either OP won't poll or he will be waiting for a world to become available. HashMaps will keep his code simple and clean, too. Also, the HashMap won't contain thousands of elements; at most 50-ish. tl;dr rs isn't performance sensitive, writing new class is useless
-
Hashmaps
you're all overcomplicating this guys :| you can keep using a HashMap<Integer, Integer> (or HashMap<Integer, Long>, whatever you prefer) just iterate over map.entrySet() and find the entry with the lowest value property; then return that entry and grab the key from it (aka your world)
-
To the people who scream Free Speech on OSBot
is this a threat
-
harrynoob irl
im blonde i already told u dis im not even emo
-
Temporary/Permanent Farewell
goodbye kind human
-
Dutch section with BeNeLux PiPs
What about a sectional moderator? This doesn't give away too much power and keeps stuff casual. There's a ton of responsible dutch people on here. sup
-
How to get your SDN Upload Request Denied
i understand but checking a script takes like, 5 to 10 minutes like srs m8
-
How to get your SDN Upload Request Denied
"It takes approximately one week to process an SDN Upload Request." i lol'd
-
amazing rotating trollface cursor
u all suck could've made it volatile transient strictfp, at least