Intel® C++ Compiler XE 13.1 User and Reference Guides

opt-calloc

Tells the compiler to substitute a call to _intel_fast_calloc() for a call to calloc().

IDE Equivalent

None

Architectures

All

Syntax

Linux:

-opt-calloc

-no-opt-calloc

OS X:

None

Windows:

None

Arguments

None

Default

-no-opt-calloc

The compiler does not substitute a call to _intel_fast_calloc() for a call to calloc().

Description

This option tells the compiler to substitute a call to_intel_fast_calloc() for a call to calloc().

This option may increase the performance of long-running programs that use calloc() frequently. It is recommended for these programs over combinations of options -inline-calloc and -opt-malloc-options=3 because this option causes less memory fragmentation.

Note

Many routines in the LIBIRC library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.

Alternate Options

None


Submit feedback on this help topic