Disabled coroutine debug info by default as it is fucking expensive.
This commit is contained in:
parent
45845fa31b
commit
adbb4fd0d1
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user