aboutsummaryrefslogtreecommitdiff
path: root/tests/io.amal
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-20 18:53:47 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit5df7f92e715ba764ee57f65d78e73111492bb64c (patch)
tree87e25089674432d43d1ed8edad5c4c6ca3fd72b1 /tests/io.amal
parent071bdd4d6facb8786f089882d53c127e6163e3ce (diff)
Add pub keyword, more import stuff, optimize hash map
Hash map now stores hash of keys to reduce the number of hash operations. Positive: faster insert/get. Negative: more space required (to store usize hash).
Diffstat (limited to 'tests/io.amal')
-rw-r--r--tests/io.amal2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io.amal b/tests/io.amal
index 5505d44..0e1a682 100644
--- a/tests/io.amal
+++ b/tests/io.amal
@@ -1,5 +1,5 @@
const a = @import("sub/a.amal");
-const puts = fn {
+pub const puts = fn {
} \ No newline at end of file