[Tutorial] Making New Chat
#9

Quote:
Originally Posted by Mean
Посмотреть сообщение
No it's not better as it has no speed difference. It is not faster at all, in fact calling a stock each time might be slower, but I've never tried it.

It's just shorter, storing player name into a variable on connect is the best and the most efficient.
I was bored, so I thought I might test that. Calling the stock is about 1/6th slower than just doing it normal. I did a test with a 10000000 (One million) loop and the results were

Код:
Stock 596, Normal: 441
For the test that I used, check HERE.
Reply


Messages In This Thread
Making New Chat - by Amel_PAtomAXx - 09.08.2011, 02:03
Re: Making New Chat - by Jack- - 09.08.2011, 03:37
Re: Making New Chat - by ylleron - 09.08.2011, 08:05
Re: Making New Chat - by Jack- - 09.08.2011, 15:33
Re: Making New Chat - by Mean - 09.08.2011, 15:38
Re: Making New Chat - by Amel_PAtomAXx - 09.08.2011, 21:52
Re: Making New Chat - by Toreno - 09.08.2011, 22:01
Re: Making New Chat - by Mean - 10.08.2011, 01:05
Re: Making New Chat - by [HiC]TheKiller - 10.08.2011, 04:47
Re: Making New Chat - by Mean - 10.08.2011, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)