Forum: NPC Scripting
04-09-2008, 01:06 AM
|
|
Replies: 37
Views: 6,862
|
Forum: Code Gallery
04-03-2008, 03:24 AM
|
|
Replies: 24
Views: 7,234
Just released a new version, one is for debug...
Just released a new version, one is for debug ("unstable"), and the other just has the functions to do the work. This release can catch all variables prefixes excluding temp.-. I fixed some problems...
|
Forum: New Scripting Engine (GS2)
04-02-2008, 04:41 AM
|
|
Replies: 12
Views: 2,165
|
Forum: Future Improvements
04-01-2008, 01:30 AM
|
|
Replies: 23
Views: 3,232
|
Forum: Code Gallery
03-30-2008, 02:42 AM
|
|
Replies: 32
Views: 7,097
This is preferred. All if statements are...
This is preferred. All if statements are evaluating the condition and then comparing it to 0, so bool == true/false is in fact doing twice as many checks: (bool == true/false) != false.
|
Forum: Code Gallery
03-28-2008, 09:39 PM
|
|
Replies: 6
Views: 2,213
|
Forum: Code Gallery
03-28-2008, 08:26 PM
|
|
Replies: 6
Views: 2,213
|
Forum: NPC Scripting
03-28-2008, 08:20 PM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-27-2008, 11:21 PM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-27-2008, 09:44 PM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-27-2008, 07:47 AM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-27-2008, 05:34 AM
|
|
Replies: 55
Views: 83,106
Do you want me to rank them or tell you how...
Do you want me to rank them or tell you how efficient I think they are? x-x
The theory behind big-O notation is that it should be an accurate measure of code efficiency regardless of language...
|
Forum: NPC Scripting
03-27-2008, 02:04 AM
|
|
Replies: 55
Views: 83,106
|
Forum: Code Gallery
03-26-2008, 10:35 PM
|
|
Replies: 23
Views: 6,460
{ 35, 23, "+", 93, 23, "*", "+" }
while...
{ 35, 23, "+", 93, 23, "*", "+" }
while true
find subarray in array like {v1,v2,op} or break
replace {v1,v2,op} with v1 op v2
end
|
Forum: NPC Scripting
03-26-2008, 09:49 PM
|
|
Replies: 55
Views: 83,106
|
Forum: Code Gallery
03-26-2008, 07:38 PM
|
|
Replies: 23
Views: 6,460
|
Forum: NPC Scripting
03-26-2008, 07:26 PM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-26-2008, 12:11 PM
|
|
Replies: 55
Views: 83,106
|
Forum: Code Gallery
03-26-2008, 09:49 AM
|
|
Replies: 23
Views: 6,460
|
Forum: NPC Scripting
03-26-2008, 09:13 AM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-26-2008, 07:34 AM
|
|
Replies: 55
Views: 83,106
|
Forum: NPC Scripting
03-26-2008, 02:44 AM
|
|
Replies: 55
Views: 83,106
Programming Exercise #3
In a string of N characters, calculate the frequencies of repeated patterns, e.g., given "AUGCCCGTAUACGTA", one would get CGTA:2, CGT:2, GTA:2, CG:2, GT:2, TA:2, AU:2, CC:2. You do not need to...
|
Forum: Code Gallery
03-26-2008, 01:32 AM
|
|
Replies: 23
Views: 6,460
|
Forum: Code Gallery
03-25-2008, 11:38 PM
|
|
Replies: 23
Views: 6,460
|
Forum: Code Gallery
03-24-2008, 11:52 PM
|
|
Replies: 24
Views: 7,234
|