- 20 Apr, 2015 6 commits
-
-
Marius Wachtler authored
Adds the LZ4 compression library and use it for compressing cached objects. This saves alot of space (on my test it reduces the required space to about one-tenth), and adds a checksum to the file in order to detect truncated cache files, without reducing the speed.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
When remapping generator expressions / set+dict comprehensions, we create an explicit new function, which will later get run through CFG again. With the new changes, we can't use a nodeName() that was generated in the parent scope, since that will end up clashing when the generated scope generates its own names. I think it's not too bad to fix since in these cases the arguments are only ever used inside of the inner scope, so we just have to use names that aren't used elsewhere.
-
Marius Wachtler authored
-
Marius Wachtler authored
We still need to generate the IR but if we can find, a cache file created for the exact same IR we will load it and skip instruction selection etc...
-
- 19 Apr, 2015 12 commits
-
-
Kevin Modzelewski authored
- increase the time limit here - Have the tester print out the stderr when a test fails with the wrong exit code; this might make things spammy but I hope that it will be more helpful. - Base EXTMODULE_DIR_PYSTON off the executable, not the tester - modifying os.environ has no effect, even when spawning subprocesses...
-
Kevin Modzelewski authored
Until I can figure out what the issue is that's making them fail. (I don't feel great about removing tests, but I just added these a few commits ago, so I think this makes the most sense for now.)
-
Kevin Modzelewski authored
- generalize dynamic loading support - copy include files to cmake build directory: we don't need it for our build, but we need them to be there for building extension modules - some beginning hacks for supporting Cython
-
Kevin Modzelewski authored
(increase the reopt and osr thresholds by 2x) This helps django a ton. will probably hurt our microbenchmarks but I don't care much about those right now.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The issue is a difference between how PhiAnalysis and TypeAnalysis handle OSR compilations: type analysis is osr-aware but phi analysis isn't. I think the right solution to this is to make phi and definedness analysis also osr aware, but I want to get these other changes in.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 18 Apr, 2015 1 commit
-
-
Kevin Modzelewski authored
Set correct site-package directory, fix 'str * -1', add sys.dont_write_bytecode
-
- 17 Apr, 2015 5 commits
-
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Attach BoxedFile::gcHandler.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
cmake explicitly list all c++ source files
-
Kevin Modzelewski authored
-
- 16 Apr, 2015 16 commits
-
-
Kevin Modzelewski authored
Beginnings of a testsuite, starting with a simple django test. Increases testing time by about 45 seconds which isn't great, but tests a lot of stuff which is good.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We don't support arbitrary dict-like objects as the globals, but in the special case that that dict-like object is just an attrwrapper around the current module, we can fall back on our module-as-globals support.
-
Kevin Modzelewski authored
(Django 1.7.5)
-
Kevin Modzelewski authored
We had a few callers but they weren't actually using the fact that the strings were interned.
-
Kevin Modzelewski authored
Implement misc stuff
-
Joris Vankerschaver authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This both lets us reuse the frame object and verify that the BoxedFrame is still valid.
-
Kevin Modzelewski authored
Conflicts: src/codegen/unwinding.cpp src/codegen/unwinding.h
-
Kevin Modzelewski authored
The first change is to move to a PIMPL strategy so that we can provide a more extensive unwinding API to other modules. In particular, you can get access to a python frame iterator and make repeated calls on it. This is in preparation of the sys._getframe implementation. This also exposed an issue with our usage of libunwind -- basically you have to do all of your unwinding in one function, but we were doing it in several different functions and happening to get away with it. So, switch from a C++11 range-for loop which is nicer, to a callback approach which is less nice in my opinion, but safer.
-