Commits

Justin Peel  committed 0f01535

force _trace_drag_out to always be inlined. The function is only called by 2-3 other functions. This change really helps with gc-intensive scripts like using a dict as a counter (can be a 10% speed-up).

  • Participants
  • Parent commits 43ff840

Comments (0)

Files changed (1)

File pypy/rpython/memory/gc/minimark.py

         # We will fix such references to point to the copy of the young
         # objects when we walk 'old_objects_pointing_to_young'.
         self.old_objects_pointing_to_young.append(newobj)
+    _trace_drag_out._always_inline_ = True
 
     def _visit_young_rawmalloced_object(self, obj):
         # 'obj' points to a young, raw-malloced object.