so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler command line; removed some historical cruft