summaryrefslogtreecommitdiff
path: root/decoders
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
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')
-rw-r--r--decoders/i2c.py7
-rw-r--r--decoders/nunchuk.py7
-rw-r--r--decoders/transitioncounter.py7
3 files changed, 0 insertions, 21 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py
index 4b13825..7c3b087 100644
--- a/decoders/i2c.py
+++ b/decoders/i2c.py
@@ -345,12 +345,5 @@ class Decoder():
if out != []:
sigrok.put(out)
-# Use psyco (if available) as it results in huge performance improvements.
-try:
- import psyco
- psyco.bind(decode)
-except ImportError:
- pass
-
import sigrok
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py
index 31de4ff..068c170 100644
--- a/decoders/nunchuk.py
+++ b/decoders/nunchuk.py
@@ -165,10 +165,3 @@ register = {
# 'report': report,
}
-# Use psyco (if available) as it results in huge performance improvements.
-try:
- import psyco
- psyco.bind(decode)
-except ImportError:
- pass
-
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