summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/intern.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-05 13:34:49 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-05 13:34:49 +0000
commit14f8b96b563dda9f7d61f5dc1cde14436ef6ea69 (patch)
tree5c5c8501f90ca74c5e3655301288d1c3d36d55d4 /src/runtime/c/gu/intern.h
parent46f2460a926a93a5bff360b0bfe7a52a983f2a56 (diff)
remove the string internalization since it slows down grammar loading with little benefit
Diffstat (limited to 'src/runtime/c/gu/intern.h')
-rw-r--r--src/runtime/c/gu/intern.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/runtime/c/gu/intern.h b/src/runtime/c/gu/intern.h
deleted file mode 100644
index bf9e9b321..000000000
--- a/src/runtime/c/gu/intern.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef GU_INTERN_H_
-#define GU_INTERN_H_
-
-#include <gu/map.h>
-#include <gu/str.h>
-#include <gu/string.h>
-
-typedef struct GuIntern GuIntern;
-
-GuIntern* gu_new_intern(GuPool* str_pool, GuPool* pool);
-const char* gu_intern_str(GuIntern* intern, const char* cstr);
-
-
-typedef struct GuSymTable GuSymTable;
-
-typedef GuString GuSymbol;
-
-GuSymTable*
-gu_new_symtable(GuPool* sym_pool, GuPool* pool);
-
-GuSymbol
-gu_symtable_intern(GuSymTable* symtab, GuString string);
-
-#endif /* GU_INTERN_H_ */