summaryrefslogtreecommitdiff
path: root/decoders/transitioncounter.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-11-27 22:27:36 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-11-27 22:27:36 +0100
commit4e338c00bda2e81210bf7569f29b77999a1d2bfb (patch)
tree3445e4320ae7bb072a46dcc7447b6c70f719049f /decoders/transitioncounter.py
parente100d51ec0909db8f93c837ea1fd92a08461b781 (diff)
downloadlibsigrokdecode-4e338c00bda2e81210bf7569f29b77999a1d2bfb.tar.gz
libsigrokdecode-4e338c00bda2e81210bf7569f29b77999a1d2bfb.zip
decoders: Drop psyco stuff, seems obsolete.
The psyco module seems to be mostly unmaintained at this point, it does not support Python 2.7 or higher at all, it only supports x86, it doesn't support 64 bit systems at all, etc. etc. We should try to find other ways to optimize our decoders for speed.
Diffstat (limited to 'decoders/transitioncounter.py')
-rw-r--r--decoders/transitioncounter.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py
index d9956c7..2ad3f52 100644
--- a/decoders/transitioncounter.py
+++ b/decoders/transitioncounter.py
@@ -107,12 +107,5 @@ class Decoder():
outdata += [[self.transitions[i], self.rising[i], self.falling[i]]]
sigrok.put(outdata)
-# Use psyco (if available) as it results in huge performance improvements.
-try:
- import psyco
- psyco.bind(decode)
-except ImportError:
- pass
-
import sigrok