Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: rdict-experiments-2
Changeset: r59924:498b4a2742d7
Date: 2013-01-10 18:28 +0200
http://bitbucket.org/pypy/pypy/changeset/498b4a2742d7/

Log:    play with inlining

diff --git a/pypy/rpython/lltypesystem/rdict.py 
b/pypy/rpython/lltypesystem/rdict.py
--- a/pypy/rpython/lltypesystem/rdict.py
+++ b/pypy/rpython/lltypesystem/rdict.py
@@ -423,14 +423,17 @@
     rgc.ll_arraycopy(d.entries, new_entries, 0, 0, lgt)
     d.entries = new_entries
     return new_entries
+ll_entries_resize_up._never_inline_ = True
 
 def ll_entry_getitem(entries, d, item):
     if len(entries) <= item:
         entries = ll_entries_resize_up(d)
     return entries[item]
+ll_entry_getitem._always_inline_ = True
 
 def ll_entry_getitem_clean(entries, item):
     return entries[item]
+ll_entry_getitem_clean._always_inline_ = True
 
 def ll_entry_popitem(d):
     pass
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to