develooper Front page | perl.perl5.porters | Postings from April 2006

[PATCH] is_list_assignment speedup

Thread Next
From:
andy
Date:
April 14, 2006 19:58
Subject:
[PATCH] is_list_assignment speedup
Message ID:
20060415025801.GA22696@petdance.com
It seems that because o->op_type is a bit field, it saves a good number
of instructions, and probably speed, to cache its value in a native
unsigned before doing a lot of comparisons.  Plus we save a lot of
pointer indirects.

This patch does that in is_list_assignment.

xoxo,
Andy

-- 
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About