Comments on: Oracle Database 10g Release 2 – SQL and PL/SQL Features Friends of Oracle and Java Sat, 01 Aug 2015 11:10:05 +0000 hourly 1 By: Alex Nuijten Fri, 01 Jul 2005 13:45:20 +0000 /?p=641#comment-2213 See post by Pete Finnigan: 06/29/2005: “10g Release 2 PL/SQL and SQL new featuresâ€?

By: Kris Fri, 24 Jun 2005 21:53:43 +0000 /?p=641#comment-2212 About your comment on the following:
Central_package.debugmode:= true;

You wrote how it differs from what Arup shown. Let me tell you what I understood…
In his example Arup declared the variable as “constant”. Now the compiler will optimize it and put only one line of code in the byte code.

But, one question remain…If it is a constant, 10gR1 compiler optimizes it already. Not sure what 10gR2 compiler does it in addition to that.

Another thought is, compiler replace the code with 1 line during compiler directives replacement and then optimization takes place. So, may be, only compilation time differs from 10gR1 and 10gR2.