@@ -57,7 +57,8 @@ struct CodeObject {
co_labels[label] = co_code.size();
}
- int addName(const _Str& name, NameScope scope){
+ int addName(_Str name, NameScope scope){
+ name.intern();
if(scope == NAME_LOCAL && std::find(co_global_names.begin(), co_global_names.end(), name) != co_global_names.end()){
scope = NAME_GLOBAL;
@@ -2,8 +2,8 @@
#include "pocketpy.h"
-//#define PK_DEBUG_TIME
-#define PK_DEBUG_THREADED
+#define PK_DEBUG_TIME
+//#define PK_DEBUG_THREADED
struct Timer{
const char* title;