summary refs log tree commit diff stats
path: root/tests/table/ptables2.nim
diff options
context:
space:
mode:
authorCharles Blake <cblake@csail.mit.edu>2015-02-13 08:42:41 -0500
committerCharles Blake <cblake@csail.mit.edu>2015-02-13 08:42:41 -0500
commit45a2c1b1d1f18aedeb363b9ef41f9f73b028b581 (patch)
tree013013b3371756fafba5e1797d3fb2491faf45a1 /tests/table/ptables2.nim
parent0a1bc0e9cd30ef1a3654e7637795ed22010e7977 (diff)
parent199707c189a169c4bf0b00f09775c9b7fa9343f3 (diff)
downloadNim-45a2c1b1d1f18aedeb363b9ef41f9f73b028b581.tar.gz
Merge ../Nim into devel; track ttables.nim delete.
Diffstat (limited to 'tests/table/ptables2.nim')
-rw-r--r--tests/table/ptables2.nim20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/table/ptables2.nim b/tests/table/ptables2.nim
deleted file mode 100644
index 939de2b84..000000000
--- a/tests/table/ptables2.nim
+++ /dev/null
@@ -1,20 +0,0 @@
-discard """
-  output: '''true'''
-"""
-
-import tables
-
-proc TestHashIntInt() =
-  var tab = newTable[int,int]()
-  for i in 1..1_000_000:
-    tab[i] = i
-  for i in 1..1_000_000:
-    var x = tab[i]
-    if x != i : echo "not found ", i
-
-proc run1() =         # occupied Memory stays constant, but
-  for i in 1 .. 50:   # aborts at run: 44 on win32 with 3.2GB with out of memory
-    TestHashIntInt()
-
-run1()
-echo "true"