2011/12/12 Sébastien Ramage <sebastien.ram...@gmail.com> > Hi ! > > I just compile OCE 0.8 and the last pythonocc 0.6dev and everything is > fine but I'm very surprised about the size of pythonocc. > OCE takes around 300Mo and pythonocc too... > PythonOCC is "just" a wrapper so why does it take so much space ? > > > Seb > > Hi Seb,
The wrapper size does not depend on the C++ code size, but on the number of classes/methods/functions. The wrapper for one method/function involves: - a python to C conversion - the function call - a C to python conversion As OCE defined thousands of classes and dozains of thousands methods/functions, the wrapper size is then "big". Have a look at the cpp code generated by swig and you'll understand. Regards, Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users