Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

qopt-calloc

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

Syntax

Linux:

-qopt-calloc

-qno-opt-calloc

macOS:

None

Windows:

None

Arguments

None

Default

-qno-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 -qopt-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.

IDE Equivalent

None

Alternate Options

None