Disabled coroutine debug info by default as it is fucking expensive.

This commit is contained in:
Patrick 2023-11-24 22:01:08 +01:00
parent 45845fa31b
commit adbb4fd0d1

View File

@ -6,11 +6,7 @@
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
#if defined(MIJIN_DEBUG)
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 1
#else
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0
#endif
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0 // Capture stack each time a coroutine is started. Warning, expensive! // TODO: maybe implement a lighter version only storing the return address?
#endif
#include <any>