Contents

lookupArchives

An array of archive instances that can potentially accelerate a compilation task.

Declaration

var lookupArchives: [any MTL4Archive]? { get set }

Discussion

The compiler can reduce the runtime of a compilation task if it finds an entry that matches a function description within any of the archives in this array. The compiler searches the archives in the order of the array’s element.

Consider adding archives to the array in scenarios that can benefit from the runtime savings, such as repeat builds or when your app can share compilation results across multiple contexts.