Initial contribution of the Adaptation Documentation.
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-3D9B72C7-38F2-5285-A63D-691A925555CC" xml:lang="en"><title>Patchable
Constants: KNumberOfContactsToReadPerMerge</title><prolog><metadata><keywords/></metadata></prolog><conbody>
<codeblock id="GUID-5B45FCEF-BBB0-5587-B581-C646257DD56B" xml:space="preserve">EXPORT_C extern const TInt KNumberOfContactsToReadPerMerge = 500;</codeblock>
<table id="GUID-BE04C50E-7D61-554F-A528-C2C384A60FCB">
<tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/>
<tbody>
<row>
<entry><p>Exported from: </p> </entry>
<entry><p> <filepath>CNTMODEL.DLL</filepath> </p> </entry>
</row>
<row>
<entry><p>Defined in: </p> </entry>
<entry><p> <filepath> .../app/contacts/phonebookengines/contactsmodel/cntplsql/src/csqlitelocalview.cpp</filepath> </p> </entry>
</row>
<row>
<entry><p>Purpose: </p> </entry>
<entry><p>View creation works via an incremental merge sort. The DBMS version
creates all the <xref href="GUID-A861AB56-802E-32BC-B073-EE3E368735F6.dita"><apiname>CViewContact</apiname></xref> for a View and then sorts
them. This constant specifies the number of fully populated <codeph>CViewContact</codeph> objects
that will be held in memory during View creation at any one time. The larger
this constant the faster a View containing large numbers of items will be
created. However, a larger constant will use more RAM for large Views. The
default for this constant is 500 <codeph>CViewContact</codeph> objects. </p> </entry>
</row>
</tbody>
</tgroup>
</table></conbody></concept>