vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, I know I am asking a very strnage question, But still need u'r help. I am working on improving the performance of the 4gl module. When we compile a 4gl it generates -> .ec -> .c -> .o , Now my question is can I modify the ..c which is generated and compiling the file? The changes I will be making is replacing of "read" call with "foo" call. Please let me know regarding this. Regards, Vijay kumar sending to informix-list |
| |||
| Vijay Kumar wrote: > Hi All, > > I know I am asking a very strnage question, But still need u'r help. > I am working on improving the performance of the 4gl module. When we compile > a 4gl it generates -> .ec -> .c -> .o , Now my question is can I modify the > .c which is generated and compiling the file? > > The changes I will be making is replacing of "read" call with "foo" > call. Please let me know regarding this. > > Regards, > Vijay kumar > > > sending to informix-list It's not "supported". And it's a PITA to do... Nevertheless it can work... |
| ||||
| You can certainally try and you may even to able to make it work, however, you can through your 4GL source code away after you have kmade the changes. Either that or you will have to make the same changes to your generated C code every time you recompile the 4GL code. Not sure how much of a performance gain you expect to see by making the change, but you would need to consider how much of a performance benefit you would gain and the cost of the overhead of this V potentially throwing your 4GL source away. "Vijay Kumar" <rudrappa@india.hp.com> wrote in message news:<c6r0pm$og8$1@terabinaries.xmission.com>... > Hi All, > > I know I am asking a very strnage question, But still need u'r help. > I am working on improving the performance of the 4gl module. When we compile > a 4gl it generates -> .ec -> .c -> .o , Now my question is can I modify the > .c which is generated and compiling the file? > > The changes I will be making is replacing of "read" call with "foo" > call. Please let me know regarding this. > > Regards, > Vijay kumar > > > sending to informix-list |