流口水热身工具
Drools kbase预热工具,以提高性能。
用法
WarmUpHelper helper = new WarmUpHelper();
helper.analyze(kBase); // analyze your kbase first. Mandatory
helper.optimizeAlphaNodeConstraints(); // optimize constraints. Optional
Object[] facts = new Object[FACT_NUM];
for (int i = 0; i < FACT xss=removed> globalMap = new HashMap
2023-01-04 19:02:44
435KB
Java
1