<?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 How to Optimize Performance for Handling Large Data with Archicad's C++ API in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-Optimize-Performance-for-Handling-Large-Data-with/m-p/661094#M10314</link>
    <description>&lt;P&gt;When handling large amounts of data with Archicad's C++ API, the processing time is too long. What techniques can be used to process data more quickly?&lt;BR /&gt;&lt;BR /&gt;For example, is multitasking possible? Please share any effective methods.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 00:34:36 GMT</pubDate>
    <dc:creator>nishida_jp</dc:creator>
    <dc:date>2025-04-30T00:34:36Z</dc:date>
    <item>
      <title>How to Optimize Performance for Handling Large Data with Archicad's C++ API</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-Optimize-Performance-for-Handling-Large-Data-with/m-p/661094#M10314</link>
      <description>&lt;P&gt;When handling large amounts of data with Archicad's C++ API, the processing time is too long. What techniques can be used to process data more quickly?&lt;BR /&gt;&lt;BR /&gt;For example, is multitasking possible? Please share any effective methods.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 00:34:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-Optimize-Performance-for-Handling-Large-Data-with/m-p/661094#M10314</guid>
      <dc:creator>nishida_jp</dc:creator>
      <dc:date>2025-04-30T00:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Optimize Performance for Handling Large Data with Archicad's C++ API</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-Optimize-Performance-for-Handling-Large-Data-with/m-p/661336#M10319</link>
      <description>&lt;P&gt;It's possible to run concurrent processes in an add-on, but with significant restrictions. My general advice is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Never call any API functions from any thread apart from the one the add-on is invoked on, i.e. don't use the API functionality concurrently. I can't rule out some functions being safe (only GS could advise on that) but assume they are not thread-safe&lt;/LI&gt;
&lt;LI&gt;Don't try to run a process independent of invocation from Archicad, i.e. don't have something continuously as a child process of Archicad but running independently.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Some possible uses might include data-crunching once the requisite data has been obtained from the API - you could break the data into chunks and fire off multiple threads to process the chunks in parallel. But this would be started by a call from Archicad into the add-on, and this call should not return until all the threads are finished.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take this as general advice rather than a completely definitive answer - GS might be able to provide some exceptions. But I expect this will generally set you on the right path.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:44:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-Optimize-Performance-for-Handling-Large-Data-with/m-p/661336#M10319</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-05-02T15:44:59Z</dc:date>
    </item>
  </channel>
</rss>

