- 17 Aug, 2015 3 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 16 Aug, 2015 2 commits
-
-
Marius Wachtler authored
Switch our Python set implementation to use a llvm::DenseSet
-
Marius Wachtler authored
-
- 15 Aug, 2015 4 commits
-
-
Kevin Modzelewski authored
Microoptimize the rewriter class
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Improve the float implementation, enable test_float
-
Kevin Modzelewski authored
make `int("some_random_string")` faster
-
- 14 Aug, 2015 19 commits
-
-
Kevin Modzelewski authored
Probably more compatible, but also much faster. Also, set str_cls->tp_repr.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We currently over-build it quite a bit; I'll try to look into that issue, but for now we can lessen the effects by at least building it in parallel.
-
Kevin Modzelewski authored
Allow string + bytearray => bytearray. Fixes #780
-
Boxiang Sun authored
-
Kevin Modzelewski authored
improve getattr() speed
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We're keeping them around anyway
-
Kevin Modzelewski authored
Our exception throwing is still slower than CPython's, and it looks like it's partially due to the CAPI calls we do as part of the throwing process. For example, we have to actually create an exception object, which involves calling the exception type constructor, etc. We could try to jit this stuff, but for now add another fast-path to typeCall that should catch some of this. Also, add a fast-path that inlines most of the exception-creation behavior. Looks like this isn't too much faster than the above-mentioned fast-path.
-
Kevin Modzelewski authored
-
Vinzenz Feenstra authored
-
Vinzenz Feenstra authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Kevin Modzelewski authored
Remove __attribute__((__malloc__)) from the gc
-
Kevin Modzelewski authored
support yield statements inside lambdas
-
Kevin Modzelewski authored
This attribute unfortunately lets the compiler skip stores if the pointer doesn't escape. This is bad because we will be looking at the memory during a collection; the compiler was skipping storing to cls and then the gc was crashing.
-
- 13 Aug, 2015 6 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Have pypa parse strings directly
-
Kevin Modzelewski authored
Save the key hash in dictionaries
-
Kevin Modzelewski authored
Enable libpypa support for break/continue misuse detection
-
Kevin Modzelewski authored
Introduction of slice ast type & updated libpypa
-
- 12 Aug, 2015 6 commits
-
-
Kevin Modzelewski authored
This lets us avoid checking equality if the hash values didn't match. Checking equality can involve calling into user code, so it can be both a perf drain and a noticeable behavioral difference.
-
Kevin Modzelewski authored
Previously we would always write out the data to a file, and then call the parser on it. Most of this is refactoring to split the file-handling logic (ie reading from a FILE*) from stream-handling logic (encoding, counting line numbers, etc). One tricky point is handling encoding markers inside strings-to- parse; we (and CPython) handle the file case by creating a Python file object to iterate over it, and CPython handles the string case with a special function to pre-process and decode the string. This commit takes the approach of creating a cStringIO file-like-object and running it through the same decoding logic as the file case.
-
Kevin Modzelewski authored
Change isSubclass(obj->cls, int_cls) to PyInt_Check
-
Vinzenz Feenstra authored
-
Vinzenz Feenstra authored
-
Kevin Modzelewski authored
ie everything that the linter was warning about
-