![]() |
|
|
|
#1
|
||||
|
Quote:
Could be beneficial cus won't conflict w other native yellow text. Would be nice if we knew which type of message it was for filtering and text box relocation. | |||
|
|
||||
|
#2
|
||||
|
Quote:
Code:
my @colors = (1..400);
sub EVENT_SAY {
if($text=~/color/i){
foreach $color (@colors) {
quest::ze($color,"testing $color");
}
}
}
| |||
|
|
||||
|
#3
|
||||
|
Hehe I just read the original piece of code that sparked this debate. Godparticle, you desperately a little practical programming experience (and some humility).
Rogean's solution is a simple sprintf which will finish in (conservatively) 500 cycles or 100ns. Your solution requires a database lookup, with multiple locks/unlocks. You even mentioned the HARD DRIVE. If the hard drive is invovled we're talking on the order of milliseconds which would make your solution 10,000 times slower. But more probably the DB would cache stuff in RAM so your solution would only be 500x slower.
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
| |||
|
|
||||
|
#4
|
|||
|
Rogean's also doesnt have a random saying, updatable in realtime, apples and oranges. There isn't multiple locks, myisam is table lock, that's why it excels for reads
| ||
|
Last edited by GODPARTICLE; 05-17-2013 at 01:41 PM..
|
|
||
|
#5
|
|||
|
Dunked.gif
Toystory_aliens_oooo.jpg | ||
|
|
|||
|
#6
|
|||
|
Venturing into /. troll territory here, heh.
Software Engineer - Term used to piss off engineers who take licensing exams. | ||
|
|
|||
|
#7
|
|||
|
lol you know what term is misused to piss people off.. "Senior". People everywhere will randomly stick that in front of their title to get some jollies over coworkers. I laughed when one of the other network engineers started doing that last year. He didn't last long.
__________________
| ||
|
|
|||
|
#8
|
|||
|
Naez spiraling down the tubes, abort abort
| ||
|
|
|||
|
#9
|
|||
|
green - 1v1 kills
yellow - gank squad kills orange - raid pvp kills imo do it, do it
__________________
Wading through these shitposts like
![]() | ||
|
|
|||
|
#10
|
|||||
|
Quote:
__________________
Quote:
Wipe it clean. | ||||
|
|
|||||
![]() |
|
|