- 10 Aug, 2016 2 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
it is slighlty faster for small allocations and has the advantage that it is easier to track how much memory our python objects are using
-
- 08 Aug, 2016 10 commits
-
-
Kevin Modzelewski authored
runtime ICs: use mmap instead of malloc for executable code
-
Marius Wachtler authored
don't handle functions containing lambdas with yields as generators
-
Marius Wachtler authored
make inner links to dir format
-
Marius Wachtler authored
-
Marius Wachtler authored
I'm suprised we did not run into this earlier...
-
Marius Wachtler authored
use more often std::unique_ptr
-
Marius Wachtler authored
This stuff got mostly already manually freed but I think this change makes it a little easier to see who owns what.
-
Marius Wachtler authored
we should not execute memory which got allocated using malloc (crashes a lot of memory inspection tools and also the windows subsystem for linux) I replaced it with a trivial mmap allocator which never unmaps the memory (but reuses the memory if a runtime ICs gets deleted) I think this is fine for now: - there are <100 runtime ICs used per test - because all runtime ICs have the same size there is no problem with fragmentation
-
Marius Wachtler authored
-
Krish Munot authored
-
- 05 Aug, 2016 4 commits
-
-
Marius Wachtler authored
ICSlotInfo: remove old invalidator entries
-
Marius Wachtler authored
delete the llvm module after code generation
-
Marius Wachtler authored
-
Marius Wachtler authored
this saves a lot of memory
-
- 04 Aug, 2016 4 commits
-
-
Marius Wachtler authored
Switch to CPython list sort(Not its list implementation)
-
Boxiang Sun authored
If BoxedList::allocated is -1, it means the items inside were changed. Some CPython list functions need this to check exceptions.
-
Boxiang Sun authored
CPython listsort need "allocated" to check and throw exception: https://github.com/Daetalus/pyston/blob/d84105ffc8a4855bb6e00d9c22ba2baa8bddf969/from_cpython/Objects/listobject.c#L2091 https://github.com/Daetalus/pyston/blob/d84105ffc8a4855bb6e00d9c22ba2baa8bddf969/from_cpython/Objects/listobject.c#L2180
-
Boxiang Sun authored
Comment out some part of listobject.c, use the CPython list sort and apply some changes to existed Pyston code.
-
- 03 Aug, 2016 2 commits
-
-
Marius Wachtler authored
ScopeNameUsage merge dicts into a single big one
-
Marius Wachtler authored
and change it to use a unordered_map because it uses less memory in this case and is faster (I assume because it does not have align the key value tuples) saves about 10% of peak memory on django
-
- 02 Aug, 2016 8 commits
-
-
Kevin Modzelewski authored
Update to fewer-pyston-changes virtualenv
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
hidden classes: split into subclasses to reduce memory consumption
-
Marius Wachtler authored
+ use pyston::DenseMap to save a little more memory this saves about 5%-10% of peak memory on django
-
Kevin Modzelewski authored
Fix evaluation order for dict operations
-
Marius Wachtler authored
enable `PyObject_Format` in `from_cpython/Objects/abstract.c`
-
sizeoftank authored
-
Kevin Modzelewski authored
using cpython's `sys.flags` inplementation
-
- 01 Aug, 2016 2 commits
-
-
Kevin Modzelewski authored
Support empty lines on the repl
-
Kevin Modzelewski authored
They end up generating "pass" statements with a lineno of 0, which trips an assert later on. This commit just sets them to have a lineno of 1. I'm not sure how to test this, since piping into stdin is supposed to be treated as a file (not as the repl). Though, we get that wrong right now.
-
- 31 Jul, 2016 1 commit
-
-
asaka authored
-
- 30 Jul, 2016 1 commit
-
-
asaka authored
-
- 29 Jul, 2016 2 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 27 Jul, 2016 1 commit
-
-
Marius Wachtler authored
use cpython's abstract.c instead of src/capi/abstract.cpp
-
- 26 Jul, 2016 1 commit
-
-
asaka authored
-
- 25 Jul, 2016 1 commit
-
-
asaka authored
-
- 22 Jul, 2016 1 commit
-
-
Marius Wachtler authored
generator optimizations
-