- 06 Apr, 2015 2 commits
-
-
Kevin Modzelewski authored
cmake configure script
-
Daniel Agar authored
-
- 04 Apr, 2015 1 commit
-
-
Daniel Agar authored
-add sizeof(pyston::BoxedDict) to config.h
-
- 03 Apr, 2015 5 commits
-
-
Kevin Modzelewski authored
use a binary search to find/insert CompiledFunction*'s into the registry
-
Chris Toshok authored
-
Chris Toshok authored
-
Chris Toshok authored
colocate string and tuple data
-
Chris Toshok authored
Tuples now contain a pointer to their storage (Box**) + size, and strings contain an llvm::StringRef which contains the pointer+size.
-
- 02 Apr, 2015 2 commits
-
-
Chris Toshok authored
use the same hash function for both unicode and string objects
-
Chris Toshok authored
this keeps us from having to utf8 decode unicode objects (into BoxedStrings) whenever we want to hash them.
-
- 01 Apr, 2015 3 commits
-
-
Kevin Modzelewski authored
free generator stacks both in the destructor and when a generator exits.
-
Chris Toshok authored
we're already unmapping the redzone as part of the munmap() call. also, free the generator stack from the sending side, not from within the generator.
-
Kevin Modzelewski authored
a few changes which help out GC performance
-
- 31 Mar, 2015 8 commits
-
-
Chris Toshok authored
-
Chris Toshok authored
-
Chris Toshok authored
-
Chris Toshok authored
when looking up a child hidden class we look up the attr in the child_index map, then get the HiddenClass* from the children vector (at that index.) this speeds up GC substantially by letting us visit the range from the vector as opposed to iterating through the stringmap.
-
Chris Toshok authored
add a map-like container that keeps its values contiguous so we can use the efficient gc_visitor->visitRange.
-
Chris Toshok authored
also, don't register MAX_STACK_SIZE bytes with the GC, register INITIAL_STACK_SIZE.
-
Kevin Modzelewski authored
Somewhat tricky since it assumes __dict__ is always a dict object; I think I caught most of the places though.
-
Travis Hance authored
implemented kmod's suggestions
-
- 30 Mar, 2015 6 commits
-
-
Kevin Modzelewski authored
through syntax error when you to `del` a var stored in a closure
-
Kevin Modzelewski authored
add option to tester script to skip specified tests
-
Kevin Modzelewski authored
Conflicts: src/codegen/ast_interpreter.cpp src/runtime/types.cpp
-
Kevin Modzelewski authored
Update INSTALLING.md
-
Chris Toshok authored
-
Weng Shiwei authored
add "sudo" before apt-get It seems a typo?
-
- 28 Mar, 2015 3 commits
-
-
Chris Toshok authored
add StackRoot<> and #defines for DECREF
-
Chris Toshok authored
add a variadic template ctor that delegates to T's constructor (making things potentially a bit more compact for constructing rooted boxes)
-
Chris Toshok authored
-
- 27 Mar, 2015 7 commits
-
-
Kevin Modzelewski authored
Misc fixes for virtualenv / pip
-
Marius Wachtler authored
-
Marius Wachtler authored
+ fix a test failing because of a slightly different error message than cpython 2.7.8
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Previously we would say that they were coming from the same file as they are executed in, typically on line 1, which would give a misleading traceback saying that the module docstring threw the error. Now, do what CPython does and say that the file is "<string>", and don't display the source line. The method is pretty hacky right now, where it only makes this adjustment when generating the traceback. Instead we should probably get rid of storing the BoxedModule in the sourceinfo in the first place, and just passing around the relevant info (fn, locals, globals, etc).
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Conflicts: src/codegen/ast_interpreter.cpp src/codegen/irgen/irgenerator.cpp src/codegen/pypa-parser.cpp
-
- 26 Mar, 2015 3 commits
-
-
Kevin Modzelewski authored
in merge: - with_ctxclass_instance_attrs now succeeds due to d1387d74 - merge ~conflict in LangPrimitive opcodes
-
Kevin Modzelewski authored
Remove dbg -O and release -n configurations. Just for dev; leave Travis-CI the way it is for now.
-
Kevin Modzelewski authored
They test what happens when a weakref's referent gets collected, but I guess in certain build configurations we would keep the object alive due to some sort of different memory layout (got saved in a CSR or a stack slot that didn't get rewritten, etc). Adding some extra function calls seems to help, though it's hard to tell how reliable it is.
-