Apple patent is for sharing compiled versions of files
According to Apple, in some embodiments, upon determining at a machine that a file needs to be compiled, a previously compiled version of the file is requested and received from one or more other machines. In such a case, the processing associated with generating a compiled version of the file at the machine can be eliminated. Similar techniques can be employed to share and/or reuse a previously generated output of any repeatable computing task whose inputs can be characterized.
Here's Apple's background on the invention: "In a software development environment, the members of a team of developers frequently only modify a small percentage of the total files comprising an associated code base before building the code base to test the modifications. Building a code base can take a considerable amount of time, especially when a code base includes a large number of files that need to be compiled. Various techniques have been employed in the past to accelerate the build process.
"One technique for accelerating the build process involves distributing a build over peer machines in a software development environment so that multiple machines are compiling files in parallel. In such cases, a machine building a code base typically requests one or more peer machines to compile files and send the compiled versions of the files back to the machine. Another technique for accelerating the build process involves locally caching compiled versions of files at a single machine when they are generated at that machine during a build so that when a subsequent build is performed at that machine at least some of the locally cached compiled versions of the files may be reused.
"The existing approaches for accelerating build processes, however, fail to fully leverage the resources available at peer machines in an associated development environment. Thus, there is a need for an improved way to accelerate build processes."
The inventor is Anders I. Bertelrud. The graphic below illustrates an embodiment of a network environment in which a group of hosts or computing machines are interconnected by a network.
