It's a GUI app, so it is hard to quantify, but simply traversing through a tree and displaying the contents of the nodes happens almost instantly using Qt. I also understand C++ a lot better and find it easier to read than python.
> -----Original Message----- > From: EBo [mailto:[email protected]] > Sent: Wednesday, 26 March 2014 4:38 PM > To: [email protected] > Subject: Re: [Emc-developers] GCode preview in C++ (Qt) > > Frank, > > How "huge" a performance boost? It is easy to get 10x if it is written in > straight python, but you can often get it down to 3x if you use numpy. THere > are some other tricks I have read about, but not tried that might speed it up a > bit more than that. Probably what Andy needs are python bindings (even if it > is written in another language). > > EBo -- > > On Mar 25 2014 12:11 PM, Frank Tkalcevic wrote: > > Thanks for the replies. > > > > I've tried embedding gremlin in another project and you lose the > > ability for you application to control the preview. > > > > I'm also trying to avoid python. My app is a rewrite of a python app, > > and the performance difference is huge. > > > > Frank > >> -----Original Message----- > >> From: andy pugh [mailto:[email protected]] > >> Sent: Wednesday, 26 March 2014 12:18 AM > >> To: EMC developers > >> Subject: Re: [Emc-developers] GCode preview in C++ (Qt) > >> > >> On 25 March 2014 06:00, Frank Tkalcevic > <[email protected]> > >> wrote: > >> > I want to add a linuxcnc gcode preview to my C++ Qt application. > >> > >> Does the QT / C++ combination mean that you can't use Gremlin? > >> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Gremlin > > ---------------------------------------------------------------------------- -- > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. Written > by three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
