View Single Post
Old 07-28-2006, 01:46 AM   #8 (permalink)
Ashlar
Forum Expert
 
Join Date: Nov 2004
Location: Southeast Missouri USA
Age: 35
Posts: 283
Default

Quote:
Originally Posted by Phantom
Comments are NOT COMPILED so your proof is flawed.
There is 'proof' and there is 'proof of concept'...
My 'proof of concept' is repeatable.

Do what i did please:
Have the server compiled so that it will load the cache the next time you start it.
Make a new .cs file in the \Scripts folder and put a comment in it.
Start the server.
It will not load the cache, but instead will compile all the scripts again.

Do the same type of test for a vb script and compare the total times...

I know comments are not compiled, they are comments!
The point is that ANY change to in the \Scripts folder will cause a complete re-compile of that type, ( vb or cs ) and only that type.

Quote:
Originally Posted by Phantom
Why are you on this quest to prove me wrong exactly?
This is not a quest and i am sorry if i gave the impression that this is personal.

I was originally intending to simply present an idea to the RunUO team for their consideration.
You didn't think this idea has merit and i respect you and your thoughts about programming.

You said earlier:
Quote:
Originally Posted by Phantom
But your welcome to prove me wrong...
Not trying to prove you wrong,
i was just trying to figure out where my thinking was skewed since you didn't think this was a good idea.
Instead of finding why you feel that the idea has no merit,
i found instead something that encourages me to believe that i am on the right track.

Quote:
Originally Posted by Phantom
Even if its faster, its only going to be faster by a small amount of time. Plus what you lose by having to different assemblies will make it not worth it. I really don't feel like trying to explain all the reasons another assemblie is a bad idea.
That "small amount of time" is exponential depending on how much processor/ram your computer has and how many scripts you have in the \Scripts folder.
I know of at least one production shard that takes more than ten minutes to compile.

For myself, i am still learning programming, so i restart te server Very, very often.
If i am trying to get an animation sequence right i might restart it 50 times before i am happy with the results.

50x 2 minutes each = 1 hour 40 minutes.
50x 20 seconds each = approx 17 minutes.
That is not a small difference to me.

If i knew vb and c# well enough, i would just write/test all my scripts in vb and then convert them to c#.
That way i wouldn't have to re-compile all the .cs scripts every time i changed a vb script.
But, since i don't know a lick of vb, i think that a new assembily would be a great idea.

Like i stated before, i was intending to just submit an idea, which is why i posted in modification suggestions.
Now i have an idea with a proof of concept.....
Ashlar is offline   Reply With Quote