- 23 Mar, 2015 7 commits
-
-
Kevin Modzelewski authored
misc fixes for running 'pip search'
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
reduces the parse time for 'import pip' from 120ms to 80ms
-
Marius Wachtler authored
Looks like allocating the BoxedSlice before the arguments caused a issue?!?
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Add some stack frames before where all the exceptions happen. This makes us take some obscenely large amount of time, particularly since we currently generate a traceback for the entire stack when an exception is thrown.
-
- 22 Mar, 2015 1 commit
-
-
Kevin Modzelewski authored
Idea from Marius. This seems to improve exception performance quite a bit, though interestingly also some of the other benchmarks as well.
-
- 21 Mar, 2015 11 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
like we had to do for getattrGeneric and setattrGeneric I guess all the other slots will eventually follow as well.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
And change for loops to instead of calling __hasnext__ directly, to call objmodel::hasnext() which calls tpp_hasnext.
-
- 20 Mar, 2015 10 commits
-
-
Kevin Modzelewski authored
tiny misc improvements
-
Kevin Modzelewski authored
Things are getting pretty messy, but it's an incremental step towards doing things more like CPython which should ultimately make things simpler. The use of the tp_getattro slots (even though they're the CAPI slots) seems to lead to about a ~7% improvement in interpreter-only speed.
-
Kevin Modzelewski authored
ie if we set __getattribute__ on a superclass, we have to update tp_getattro on all subclasses. We've always been broken on this, but this didn't really matter as much until now since we would internally check __getattribute__ and not tp_getattro. tp_subclasses is a list of weakrefs, which means that we need weakref support before we can start finalizing classes. which means we have to add a whole slew of things into the bootstrapping section. We should probably just do this in a more systematic way, but I'm not sure what that would be...
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This is the analogue of 9f63b62e but for getattr instead of setattr: previously there was no way to run the default getattr logic, since getattrInternalGeneral would always check for a custom __getattr__ or __getattribute__. This meant that object.__getattribute__ was the same thing as getattr() and that PyObject_GenericGetAttr was the same as PyObject_GetAttr, which were not correct.
-
Chris Toshok authored
update INSTALLING.md, and libsqlite-dev in cmake section
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
asaka authored
-
Kevin Modzelewski authored
-
- 19 Mar, 2015 11 commits
-
-
asaka authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add support for unicode literals when using pypa
-
Kevin Modzelewski authored
split the getattr/setattr of softspace into two try blocks
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
For calling runtime functions, we usually just have one function that handles all types. We can bypass most of the resolution work by just skipping to that function.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Chris Toshok authored
cpython can be observed setting softspace on an object even if it doesn't start with it. the getattrInternal in softspace() throws an exception the first time through since the attribute isn't present. if we don't turn around and set it on the object, we throw every time we print, which causes a pretty large perf regression (from ~6 seconds to ~17 seconds.)
-
Kevin Modzelewski authored
Previously we would keep its elements alive but not the actual array itself? I think this is what was crashing fasta.py, which is now working with this change. I couldn't reproduce the presumed bug in a smaller testcase though.
-