Select to view content in your preferred language

C# vs Python performance and getting ArcPy libraries for C#

1237
2
08-17-2020 08:30 AM
HaroldKrivell
Occasional Contributor

Good Morning,

My team is looking to enhance our automated Geocoding performance and I am reviewing comparisons between C# and Python. My questions are...

1. Will switching to C# improve performance?

2. Does ESRI have Geocoding and other Geoprocessing libraries in C#?

0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

It is difficult to answer the question without knowing more about your current workflow.  For example, what tools are you using?  When geoprocessing tools are called via Python, e.g., calling arcpy.analysis.Intersect, the natively compiled ArcGIS code is being called.  Whether that native code is being called from Python or some other code makes little difference on the execution performance of that compiled code.  If you are doing a lot of processing with Python code itself, then switching to C# might make a difference.  It all sort of depends on what your workflows are.

0 Kudos
HaroldKrivell
Occasional Contributor

Thank you for your reply. 

If I were to switch to C#. What are the modules for geocoding? Would ESRI have a C# version of Arcpy tools for invoking Geoprocessing?

0 Kudos