Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Short-circuit evalution" in VB6
#1
I do this too, wasn't sure if it would speed up anything, I just did it for organizational purposes.
Reply
#2
DFA Wrote:yeah, actually a pretty important optimization in my opinion

Hardly.

The time it takes to do the checks is negligible.

If you wanted to sort out the packet system, you'd convert to byte arrays.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
That's like asking why Booleans exist when you can store the same value in a Byte.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#4
Yet it exists in VB6.0 as a few bytes.

Stop asking questions about why different things are there in the language, we can only speculate. xD
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#5
Hahahaha xD

Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#6
That's very common in C based languages, if(function()){ } and the oposite if(!function()){ } which is the same as If Not function Then
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)