In the C programming language, as of the C99 standard,
restrict is a keyword that can be used in pointer declarations. The
restrict keyword is a declaration of intent given by the programmer to the compiler. It says that for the lifetime of the pointer, only it or a value directly derived from it (such as
pointer + 1) will be used to access the object to which it points. This limits the effects of pointer aliasing, aiding caching optimizations. If the declaration of intent is not followed and the object is accessed by an independent pointer, this will result in undefined behavior. The use of the
restrict keyword in C, in principle, allows non-obtuse C to achieve the same performance as the same program written in Fortran.
Read more about Restrict.
Some articles on restrict:
... For example, they require writers to Restrict the length of noun clusters to no more than 3 words Restrict sentence length to no more than 20 words (procedural sentences ...
... to the public) break down internal organization create dissension between groups restrict access to public resources restrict the ability to organize protests restrict the ability of individuals to ...
... diets or low-carb diets are dietary programs that restrict carbohydrate consumption usually for weight control or for the treatment of obesity ... they restrict carbohydrate intake sufficiently to cause ketosis) ... The term "low-carbohydrate diet" is generally applied to diets that restrict carbohydrates to less than 20% of caloric intake, but can also refer to ...
... Similarly, a row cannot be deleted as long as there is a reference to it from a foreign key table. ...
More definitions of "restrict":
- (verb): Place under restrictions; limit access to.
Example: "This substance is controlled"
- (verb): Place limits on (extent or access).
Example: "Restrict the use of this parking lot"
Synonyms: restrain, trammel, limit, bound, confine, throttle
Famous quotes containing the word restrict:
“A house means a family house, a place specially meant for putting children and men in so as to restrict their waywardness and distract them from the longing for adventure and escape theyve had since time began.”
—Marguerite Duras (b. 1914)
“The expectation that every neurotic phenomenon can be cured may, I suspect, be derived from the laymans belief that the neuroses are something quite unnecessary which have no right whatever to exist. Whereas in fact they are severe, constitutionally fixed illnesses, which rarely restrict themselves to only a few attacks but persist as a rule over long periods throughout life.”
—Sigmund Freud (18561939)