[AccessD] With / End With or not?

Stuart McLachlan stuart at lexacorp.com.pg
Mon Sep 13 14:20:09 CDT 2021


I strongly suspect that it's purely  a source code thing and that the compiler will compile both 
to the same set of instructions using pointers to the appropriate objects.

I find it hard to visualise any other way of it being done.



On 13 Sep 2021 at 13:59, Arthur Fuller wrote:

> Somewhere I read or heard or just intuited that given a block of code
> that frequently references Me, it's faster and better towrap te the
> block in a With Me / End With than to explicitly refer to Me. Is this
> true? Or is it just to make the code ceaner? Has anyone bothered to
> benchmark the difference? I' could easily build a test case, but if
> you've already done it, then I would be interested in your results.
> 
> -- 
> Arthur
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 




More information about the AccessD mailing list