BT_PROFILE suggestion

Dentoid
Posts: 1
Joined: Thu Dec 27, 2007 10:51 pm

BT_PROFILE suggestion

Post by Dentoid »

Hey

I just had a little suggestion about the BT_PROFILE macro. Maybe it could be a good idea to change the syntax from BT_PROFILE("blah") to BT_PROFILE( blah ) and have the macro stringify it with #. The reason for this is if people (by coincidence, me :)) would like to exchange the profiler macro with their own profiler. It's always possible to stringify the input, but it's not possible to unstringify it, so... Having the argument non-stringed leaves it more open.

Just a suggestion!

/Anders
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: BT_PROFILE suggestion

Post by Erwin Coumans »

Thanks for the suggestion, I'll look into it.

Erwin