0
votes

I'm using the Drools API to build a kieContainer when my application starts. But I noticed that it cost a lot of time when calling getKieContainer().

I am searching for a method to reduce the time cost to get a reusable KieContainer.

KieHelper kieHelper = new KieHelper();
kieHelper.addContent(getContent(), ResourceType.GDST);
KieContainer kieContainer = kieHelper.getKieContainer();