- 04 Sep, 2015 18 commits
-
-
Rudi Chen authored
It's easier to tell the two constants apart if they are different.
-
Rudi Chen authored
They tends to time out or just make the test suite run for longer. They definitely times out when running a prototype moving gc.
-
Kevin Modzelewski authored
Scan constants written into compiled code.
-
Rudi Chen authored
A GC could happen during the rewrite.
-
Rudi Chen authored
-
Rudi Chen authored
-
Kevin Modzelewski authored
Scan rewriters for interior pointers
-
Rudi Chen authored
We need to do this because the ICInvalidator pointers are stored inside Pyston heap objects.
-
Kevin Modzelewski authored
Some improvments that let test_index could pass
-
Kevin Modzelewski authored
Sqlalchemy compatibility fixes
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Sqlalchemy subclasses set, and overrides __init__ and does some custom initialization there. We were doing the initialization in __new__, which works most of the time, except if a generator was passed since then sqlalchemy's initialization will see what looks like an empty generator since we already consumed it. So move the initialization to init. Except for frozenset which still needs to do it in new.
-
Kevin Modzelewski authored
In CPython, str.add directly throws a TypeError since it is implemented as a sq_concat. sqlalchemy relies on being able to do str()+MyStr() and use MyStr.__radd__ to handle the addition. We were throwing a TypeError but not implementing it in sq_concat. So instead, return NotImplemented instead of directly throwing a TypeError. This makes '+' more compatible but str.__add__ a bit less compatible.
-
Boxiang Sun authored
add _PyLong_Copy implementation, return a copy in PyNumber_Long if the type of argument is long or long subclass
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 03 Sep, 2015 2 commits
-
-
Kevin Modzelewski authored
Add override keyword where necessary.
-
Rudi Chen authored
-
- 02 Sep, 2015 10 commits
-
-
Rudi Chen authored
-
Kevin Modzelewski authored
Generate better module names to make the object cache more effective
-
Kevin Modzelewski authored
add tp_nextiter implementation for our iterators
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
one of the problems were that depending on if all files were all ready parsed we JITed more or less functions, this changed the total number of jited functions which changed all the module names. This lead to the result that in order to have all entries inside the cache we needed at least 3runs if the pyc files were old. The whole name scheme should add some point get improved but for now it should be enough.
-
Kevin Modzelewski authored
Lower initial dict/set size from 64->8
-
Kevin Modzelewski authored
Support non-module-globals in the llvm tier
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 01 Sep, 2015 10 commits
-
-
Kevin Modzelewski authored
By switching to our DenseMap/Set fork with that allows parameterizing on this. This is the same number that CPython uses. We were previously using llvm's default of 64, which is pretty high -- probably fine for their use cases, but in Python programs with lots of sets/dicts we spend a lot of time doing malloc() for all those 1kB+ allocations. This also increases the time it takes to iterate over the dict/set, since there are more empty buckets that have to be read + skipped.
-
Kevin Modzelewski authored
The default is 64, which is quite a lot for our uses.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
- add note + license - put in our namespace - change header guards - make it match our lint style - don't apply our formatting
-
Kevin Modzelewski authored
With no modificaions in this commit, so that we can track changes. Unmodified from llvm rev r230300.
-
Kevin Modzelewski authored
It does use the old parser, but it also forces the use of the llvm tier for everything which usually ends up being the more important part of the configuration.
-
Kevin Modzelewski authored
(motivated by namedtuple) This involves two main changes: - changing the calling convention to pass `globals` as an argument if needed (this only applies going into compiled code, it's already passed into the interpreter) - changing the llvm irgenerator to use the new globals object
-
Kevin Modzelewski authored
Notion of redundant visits to slowly move towards scanning everything
-
Kevin Modzelewski authored
Complex improment
-
Kevin Modzelewski authored
when calling a BoxedWrapperDescriptor don't create a BoxedWrapperObject
-