Author |
Message
|
Alan P |
Posted: Fri Mar 02, 2007 7:46 am Post subject: MBV6: CMF Compliation - Duplicated Methods in CMF |
|
|
Newbie
Joined: 20 Apr 2006 Posts: 4
|
I am currently working on quite a large project for Broker V6 and am wondering if anyone can help answer a problem we are having.
There are a good number of projects used by each of the bars we have. One project in particular has a large number of functions inside its ESQL (say about 15-20) and is shared amongst a lot of flows used in the compilation of the final CMF for the bar.
The problem is that when the CMF is created all of these function bodies keep repeating throughout the CMF for each flow that uses them so we get an extra >1.5mb of duplication making the CMF files quite large.
Has anyone had this problem before or know how to stop all these functions being duplicated?
Thanks
Alan |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 05, 2007 7:18 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's typical for an entire Broker schema or an entire esql file to get included in a bar file when only a single function in that schema or esql file is actually used.
There's been some work on this, if I recall correctly, but I don't know what the current state is.
Maybe you should put those functions in their own sub-schemas or esql files. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Alan P |
Posted: Tue Mar 06, 2007 3:37 am Post subject: |
|
|
Newbie
Joined: 20 Apr 2006 Posts: 4
|
Thanks for your response.
The functions we are using currently exist inside their own utility sub-schema. This entire schema gets copied in for each of the flows that use this code.
Do you know where I can find out more information on this work being carried out?
Alan |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 06, 2007 4:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can open a PMR.
Or hope that someone who knows more than I do on this will have something to say. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|