borzunov / cpmoptimize Goto Github PK
View Code? Open in Web Editor NEW๐ ๐ Optimizes Python bytecode calculating linear recurrences, reducing the time complexity from O(n) to O(log n)
License: MIT License
๐ ๐ Optimizes Python bytecode calculating linear recurrences, reducing the time complexity from O(n) to O(log n)
License: MIT License
Hi, how can i get rid of this
Traceback (most recent call last):
File "code/test.py", line 231, in
@cpmoptimize()
File "/usr/local/lib/python2.7/dist-packages/cpmoptimize/init.py", line 141, in upgrade_func
index += analyze_loop(settings, code, index) + 1
File "/usr/local/lib/python2.7/dist-packages/cpmoptimize/init.py", line 65, in analyze_loop
state = recompiler.recompile_body(settings, body)
File "/usr/local/lib/python2.7/dist-packages/cpmoptimize/recompiler.py", line 536, in recompile_body
raise RecompilationError('Unsupported instruction %s' % repr(instr), state)
cpmoptimize.recompiler.RecompilationError: Can't optimize loop: Unsupported instruction (BINARY_SUBSCR, None) at line 253 in proccess_set, file "code/test.py"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.