- 01 Aug, 2015 1 commit
-
-
Dong-hee,Na authored
-
- 31 Jul, 2015 1 commit
-
-
Dong-hee,Na authored
-
- 30 Jul, 2015 2 commits
-
-
Dong-hee,Na authored
-
Dong-hee,Na authored
-
- 29 Jul, 2015 1 commit
-
-
Dong-hee,Na authored
and remove raw_ostream for displaying data structure
-
- 28 Jul, 2015 14 commits
-
-
Dong-hee,Na authored
-
Dong-hee,Na authored
-
Kevin Modzelewski authored
implement recursive printing of set and tuples.
-
Dong-hee,Na authored
-
Kevin Modzelewski authored
start templatizing the runtime to be able to choose exception styles
-
Kevin Modzelewski authored
Fix the errors that report in `test format` and re-enable `test format`.
-
Dong-hee,Na authored
-
Kevin Modzelewski authored
Apparently they can do compile-time evaluations, which is cool.
-
Kevin Modzelewski authored
For use of PyObject_GetItem django_template3 ends up calling this a fair amount via unicode_translate (ie it checks to see if certain entries are in the translation table).
-
Dong-hee,Na authored
-
Kevin Modzelewski authored
bjit: add support for most common missing nodes and don't JIT compile cold blocks
-
Kevin Modzelewski authored
Numeric binary operator support for old style class
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The exceptions thrown by len itself can now be either style, though any exceptions thrown by any called functions (ex __len__) will still get thrown as C++ exceptions and converted if needed. Helps in a common case of "try calling len but don't worry if no len was defined".
-
- 27 Jul, 2015 21 commits
-
-
Kevin Modzelewski authored
-
Boxiang Sun authored
-
Marius Wachtler authored
Previously after doing a OSR JIT compilation we continued to JIT every block outside of the loop. This doesn't show up as a perf change but reduces the number of JITed code / makes it slightly smaller.
-
Marius Wachtler authored
-
Dong-hee,Na authored
w:
-
Boxiang Sun authored
-
Kevin Modzelewski authored
list recursive printing
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
optimize some misc runtime functions
-
Dong-hee,Na authored
-
Dong-hee,Na authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
callable(), str(), repr(), PySequence_GetItem(), and PyObject_HasAttrString() Mostly by bringing in the CPython versions.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
They are tricky since these are types, which means they invoke the relatively-complicated constructor logic. ie str() doesn't just call __str__ on the argument: if the result is a subclass of str, it calls result.__init__(). Similarly for unicode, except unicode is even trickier since it takes some more arguments, one of which is "encoding" which will have non-type-based dynamic behavior. I didn't realize that at first and optimized unicode() by exposing an inner version of it that takes its arguments in registers, which we can take advantage of using our jit-arg-rearrangement capability. This means we have to do parts of PyArg_ParseTuple ourselves, so I added a PyArg_ParseSingle that runs a single object through the arg-conversion code. PyArg_ParseSingle could be further optimized if we want to. Or rather, if we have functions of the form PyArg_ParseSingle_s (which corresponds to the "s" format code) we could skip some more of the overhead. I had to disable most of that once I realized the encoding issue, but I left it in since hopefully we will be able to use it again once we have some "do some guards after mutations if we know how to resume after a failed guard" rewriter support.
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Kevin Modzelewski authored
get cpython/test_tuple.py to pass
-
Kevin Modzelewski authored
Get test_iter.py to work
-