[PyPy-issue] [issue665] Efficient zeroing of heap locations

Armin Rigo pypy-dev-issue at codespeak.net
Fri Mar 11 17:05:30 CET 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

Would it really be more efficient?  The addresses that need to be zeroed are not
contiguous, but instead form some random pattern in that array (maybe half of
the addresses in some range).  I think that generating exactly the sequence of
MOV instructions needed to clear the required locations is the most efficient
way, short of some more direct, involved interaction with the GC.  It certainly
looks more efficient than calling some external function like memset().

status: unread -> chatting

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list