VBAhole22
Registered User.
- Local time
- Yesterday, 19:31
- Joined
- Jan 18, 2002
- Messages
- 117
I was just perusing a great book called Access Cookbook by Ken Getz et.al At one point in the book he states that comment lines do not exact any performance penalty at all. Yet the author supply a sample database on the cd that compares uncommented to commented code and you can see the performance is slower. In fact, when I looked in the module the commented lines they were using to test actually said, "Comment lines are stored with the code and loaded into memory when Access compiles the module. This uses memory and increases the work the the Access Basic parser has to do. Since Access Basic is an interpreted language, it has to parse every line, whether its a comment or not."
Which is correct? Do comments slow down code?
Which is correct? Do comments slow down code?