summaryrefslogtreecommitdiff
path: root/src/lstate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lstate.js')
-rw-r--r--src/lstate.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lstate.js b/src/lstate.js
index fee308c..f2e17cd 100644
--- a/src/lstate.js
+++ b/src/lstate.js
@@ -71,18 +71,6 @@ class global_State {
this.mt = new Array(LUA_NUMTAGS);
}
- intern(stringArray) {
- // TODO: when weak value maps are available
- // let key = stringArray.map(e => `${e}|`).join('');
-
- // if (!this.strt.has(key))
- // this.strt.set(key, new lobject.TValue(CT.LUA_TLNGSTR, stringArray));
-
- // return this.strt.get(key);
-
- return new lobject.TValue(CT.LUA_TLNGSTR, stringArray);
- }
-
}