ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Can comments slow down ECS event code?
Kevin Trainor
Sun, 24 Dec 2000 00:11:22 -0600
Sun, 24 Dec 2000 00:11:22 -0600
Hi All:

I think that I have just been punished for being a virtuous programmer.

I have this big block of event code that runs the serial-byte interface for my access
control system (ACS).  So far, I have only tried to implement the simplest of integration
between ECS and the ACS system.  Having suceeded in making simple integration work,
I was about to undertake some more challenging functions.  So, I thought that it would
be a good idea to finish commenting out the existing code before I changed it.  When
I went to test out the commented code, I got an execution error that I did not get with
the un-commented version.  ECS aborted execution of my event because it failed to exit
within the maximum time allowed.  It is remotely possible that I accidentally introduced
a bug when adding comments.  But, after doing some desk checking of my code, I don't
think that I made that mistake.  It really does appear that commented code is running
slower than uncommented code.

So, my question:  is this possible?  Does anyone have any experience with this?

Thanks.

Kevin


Hi All:
 
I think that I have just been punished for being a virtuous programmer.
 
I have this big block of event code that runs the serial-byte interface for my access control system (ACS).  So far, I have only tried to implement the simplest of integration between ECS and the ACS system.  Having suceeded in making simple integration work, I was about to undertake some more challenging functions.  So, I thought that it would be a good idea to finish commenting out the existing code before I changed it.  When I went to test out the commented code, I got an execution error that I did not get with the un-commented version.  ECS aborted execution of my event because it failed to exit within the maximum time allowed.  It is remotely possible that I accidentally introduced a bug when adding comments.  But, after doing some desk checking of my code, I don't think that I made that mistake.  It really does appear that commented code is running slower than uncommented code.
 
So, my question:  is this possible?  Does anyone have any experience with this?
 
Thanks.
 
Kevin

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.