# New Ticket Created by Leopold Toetsch # Please include the string: [perl #19332] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19332 > I'll send this first to the list for review. This patch changes mark_used(PMC *) so that the PMC field next_for_GC isn't used anymore (it could be removed now, making a PMC one ptr size smaller). This would allow finally to use one common mark function: void pobject_lives(PObj* obj) which is the same as buffer_lives() now looks like (modulo the interpreter used for GC_DEBUG). A short test (5E6 new P0, .PerlUndef) in a loop shows ~1% speed increase due to one less instruction in headers.c:get_free_pmc(). Comments welcome, leo -- attachment 1 ------------------------------------------------------ url: http://rt.perl.org/rt2/attach/46018/36002/ea1b6f/mark.patchThread Next