FAQ

Andy Lester writes:
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.
I thought op_type was 8-bits so that a sane compiler could use byte access
for it. But the cache doesn't hurt.
This patch does that in is_list_assignment.

xoxo,
Andy

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedApr 15, '06 at 2:58a
activeApr 19, '06 at 10:21p
posts4
users4
websiteperl.org

People

Translate

site design / logo © 2019 Grokbase