Skip to content

CIMreader-2.11-2.3.1-3.4.0

Latest
Compare
Choose a tag to compare
@derrickoswald derrickoswald released this 03 Dec 11:03
· 237 commits to master since this release

Add caching and CIMNetworkTopologyProcessor options.

Assists in repetitive run use-cases (such as in development work).

Usage is to specify all options for post processing (de-duplicate, topology creation, edge creation, etc.) and also the ch.ninecode.cim.cache option as a directory name specific to the combination of files and options used. The CIMReader will write an object cache using saveAsObjectFile after all processing is completed. On subsequent runs with the same ch.ninecode.cim.cache option the object cache is used instead of re-reading and re-processing the CIM files. This offers the chance to reduce processing time by eliminating the overhead of reading and processing the same options each time, and getting right down to the important algorithm directly.

No provision is yet included for testing the staleness of the cache due to CIM file changes or option changes, so this is a manual process so far - caveat emptor.