type_field

[ Start > PikeDevel > C Modules > type_field ] [ Edit this Page | Show Page Versions | Show Raw Source ]


NAME

type_field - bit field used for optimizations

DESCRIPTION

Type fields are used by arrays, mappings and some svalue operations for optimization. The type field consists of OR:ed bits, one for each type. The bit for an array is 1< A bit field never has to be exact, it needs to have at least those bits that are present in the operation. It is never harmful to have too many bits though. It seldom pays off to calculate the bit field explicitly, so if you don't know what types are involved you should use -1 for the type field.

KEYWORDS

data_types

SEE ALSO

mapping, array, svalue


Powered by PikeWiki2

 
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University