ReactiveCocoa/ReactiveCocoa — pull request #1114 by jspahrsummers (2014-02-16 01:59:05+00:00)
Title: Change RAC_DEBUG_SIGNAL_NAMES into an environment variable

I find it easier to switch an environment variable on and off from the scheme editor vs. modifying (or duplicating) a build configuration to add a new preprocessor flag. An environment variable also avoids any need for recompilation.

I tested this in GitHub for Mac for a few seconds, and the total cost of `getenv()` across all calls was on the order of 20ms, so I'm not worried about it.

This also replaces some calls to `NSStringFromSelector()` in signal names with `sel_getName()`, which should be cheaper since it doesn't require `NSString` allocation.

/cc @joshaber