Skip to content
  • Mark OLESEN's avatar
    ENH: avoid unnecessary disk access in writeDictionary (#2362) · 24bee96d
    Mark OLESEN authored
    - added in special handling for monitoring controlDict.
    
      Since controlDict is an unwatchedIOdictionary (not IOdictionary) and
      not registered either, the usual objectRegistry caching is not
      available. Instead, access directly from Time.
    
      Left the balance of the file handling largely intact (for handling
      unregistered dictionaries) but could potentially revisit in the
      future and attempt master-only file access if required. However,
      most other IOdictionary types will be registered, otherwise the
      READ_IF_MODIFIED mechanism would not really work properly.
    24bee96d