<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Speed up OpenDataset in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-opendataset/m-p/1410244#M11373</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How about using the recycling cursor during&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7715.html" target="_self"&gt; the search&lt;/A&gt; as below?&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        Dim rc As RowCursor = tblLayer.Search(qf, True)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;The recycling cursors offer performance advantages by allocating a single row object and rehydrating it on each fetch of reading data. They can be used to optimize read-only access.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 14:24:43 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2024-04-16T14:24:43Z</dc:date>
    <item>
      <title>Speed up OpenDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-opendataset/m-p/1403794#M11311</link>
      <description>&lt;P&gt;I am migrating an Add-In from ArcMap to ArcGIS Pro. I have a file geodatabase with 1 feature dataset with 63 feature classes. I need to search through all feature classes in the feature dataset checking for REACH_GUID IS NULL and return a list of OBJECTIDs for each feature class. It takes 60 seconds in ArcGIS Pro vs 30 seconds in ArcMap. Is there any way to speed this up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim irolFCD As IReadOnlyList(Of FeatureClassDefinition) = cls.gdb.GetDefinitions(Of FeatureClassDefinition)()
For Each fcd As FeatureClassDefinition In irolFCD
	Dim layerName As String = fcd.GetName()
	If fcd.FindField("Reach_Guid") &amp;lt;&amp;gt; -1 Then
		Dim tblLayer As Table = cls.gdb.OpenDataset(Of Table)(layerName)
		Dim qf As QueryFilter = New QueryFilter()
		qf.WhereClause = "REACH_GUID IS NULL"
		Dim rc As RowCursor = tblLayer.Search(qf, False)
		Dim l As List(Of Integer) = New List(Of Integer)
		While rc.MoveNext
			l.Add(CType(rc.Current("OBJECTID"), Integer))
			' Add layerName, OBJECTID to list
		End While
		If l.Count &amp;gt; 0 Then
			dctFC.Add(layerName, l)
		End If

	End If
Next&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Apr 2024 13:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-opendataset/m-p/1403794#M11311</guid>
      <dc:creator>EricPfirman</dc:creator>
      <dc:date>2024-04-01T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up OpenDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-opendataset/m-p/1410244#M11373</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How about using the recycling cursor during&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7715.html" target="_self"&gt; the search&lt;/A&gt; as below?&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        Dim rc As RowCursor = tblLayer.Search(qf, True)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;The recycling cursors offer performance advantages by allocating a single row object and rehydrating it on each fetch of reading data. They can be used to optimize read-only access.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 14:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-opendataset/m-p/1410244#M11373</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-04-16T14:24:43Z</dc:date>
    </item>
  </channel>
</rss>

