question about execution efficiency/speed
Posted: Wed Mar 26, 2014 12:07 am
Hello all,
I hope I can word this well enough... Is there an appreciable difference in the speed of execution if you include and action in an object versus calling another object?
Would this take longer to executeThan this(omitting the ReplytoClient call)
or not a noticeable difference?
I hope I can word this well enough... Is there an appreciable difference in the speed of execution if you include and action in an object versus calling another object?
Would this take longer to execute
Code: Select all
on chatMessage s,data
...
ReplytoClient "1001"
...
end chatMessage
on ReplytoClient message
-- send the data contained in the message variable to the client
write message to socket s with message "callbackIgniteSocket"
end ReplytoClient
Code: Select all
on chatMessage s,data
...
write "1001" to socket s with message "callbackIgniteSocket"
...
end chatMessage