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?
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.
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?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum