Re: Development Mode/Production Mode

2012-04-03 Thread David Bruant
Le 01/04/2012 13:38, Wes Garland a écrit : In a similar vein, I would personally like to have zero-cost-when-not-debugging assert() statements, and am hopeful that statically-linked modules might lead the way. It seems to me that what you're asking for is macros, isn't it? I read hints here

Re: Development Mode/Production Mode

2012-04-03 Thread John J Barton
On Tue, Apr 3, 2012 at 7:03 AM, David Bruant bruan...@gmail.com wrote: Le 01/04/2012 13:38, Wes Garland a écrit : In a similar vein, I would personally like to have zero-cost-when-not-debugging assert() statements, and am hopeful that statically-linked modules might lead the way. It seems

Re: Development Mode/Production Mode

2012-04-03 Thread David Bruant
Le 03/04/2012 17:12, John J Barton a écrit : On Tue, Apr 3, 2012 at 7:03 AM, David Bruant bruan...@gmail.com mailto:bruan...@gmail.com wrote: Le 01/04/2012 13:38, Wes Garland a écrit : In a similar vein, I would personally like to have zero-cost-when-not-debugging assert()

Re: Development Mode/Production Mode

2012-04-01 Thread Wes Garland
In a similar vein, I would personally like to have zero-cost-when-not-debugging assert() statements, and am hopeful that statically-linked modules might lead the way. We currently have LOW cost assert() statements, but these are still not suitable for hot loops. We can turn them into zero-cost