cancel
Showing results for 
Search instead for 
Did you mean: 

large dataset, c++ or python?

Genius
Genius

In the NX Open API, I am dealing with large datasets (file sizes are typically 500mb or larger).

 

Will I see a significant speed increase with a C++ application versus Python? I have also considered using Cython. https://github.com/cython/cython/wiki 

1 REPLY

Re: large dataset, c++ or python?

Siemens Phenom Siemens Phenom
Siemens Phenom

It depends what your application is doing.

 

The Python API (and other APIs) are fairly thin layers built on top of a common set of  internal NX code.

 

If you're calling an NX function that does a lot of computation, then the overhead of going through the API layer will be small, so it probably won't matter whether you use the Python API or the C++ API.

 

But if you're making millions of calls to small NX functions that don't do very much, then the overhead of the API layer will be more significant, and using Python might cause some slow-down.

山田
yamada