Skip to content
Chick Markley edited this page Feb 26, 2015 · 3 revisions

About the Ctree Persistent Cache

The persistent cache was added to ctree in order to facilitate a sideloading procedure onto a non-SEJITS supported platform. In addition, the cache improves performance on machines that support SEJITS, by allowing us to skip the code generation stage on subsequent runs of a function with the same data size. However, during development, the cache can be a hindrance. The following section will walk you through how to disable, enable and wipe the cache at will.

Command Line Cache Controls

The following commands must be executed from your current project directory in order to work.

  • Disabling the Cache, We can disable the cache with the following command. This command will also clear the current cache. $ ctree --disable_cache or, more shortly, $ ctree -dc
  • Enabling the Cache We can enable the cache with the following command. $ ctree --enable_cache or, more shortly, $ ctree -ec
  • Clearing the Cache Clearing the cache is also simple. $ ctree --clear_cache or, more shortly, $ ctree -cc