summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-05 12:46:06 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-05 12:56:49 +0800
commit3897e71c43e5da9829e342d92d038964acc68316 (patch)
tree0b7504cc98db7010cb79a7b066b79ccf5b34bf42 /lib
parent4ae9a171fd21dbe152760c78a7d6d81c819b837a (diff)
downloadtrainer-3897e71c43e5da9829e342d92d038964acc68316.tar.gz
trainer-3897e71c43e5da9829e342d92d038964acc68316.tar.xz
trainer-3897e71c43e5da9829e342d92d038964acc68316.zip
improve speed of tryprune.py tool
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py
index 4fa31d3..7694125 100644
--- a/lib/myconfig.py
+++ b/lib/myconfig.py
@@ -48,6 +48,9 @@ class MyConfig:
def getSortedEstimateIndex(self):
return 'estimate.sorted.index'
+ def getInMemoryFileSystem(self):
+ return '/dev/shm'
+
def getEvalsText(self):
evals_text = m_evals_dir + '/data/evals.text'
return evals_text