summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-01-20 10:39:54 -0800
committeryenatch <yenatch@gmail.com>2016-01-20 10:41:43 -0800
commitadbc204d741bec7a68c1e6cd67751f226d0347cb (patch)
treeb07fdbf03ee6edb041d3436d56635899aafb5f61
parentfd08d3926b4e2dd0b835afe53ee1c2476c3965f0 (diff)
Stub Compressed.find_lookback.
-rw-r--r--pokemontools/lz.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pokemontools/lz.py b/pokemontools/lz.py
index f9d1dfe..aef5c64 100644
--- a/pokemontools/lz.py
+++ b/pokemontools/lz.py
@@ -210,6 +210,10 @@ class Compressed:
self.find_lookback(method, address)
def find_lookback(self, method, address=None):
+ """Temporarily stubbed, because the real function doesn't run in polynomial time."""
+ return 0, None
+
+ def broken_find_lookback(self, method, address=None):
if address is None:
address = self.address