US 12,147,792 B2
Shrinking files based on function analysis
Carmit Sahar, Tel Aviv (IL)
Assigned to Aurora Labs Ltd., Tel Aviv (IL)
Filed by Aurora Labs Ltd., Tel Aviv (IL)
Filed on Sep. 6, 2023, as Appl. No. 18/461,558.
Application 18/461,558 is a continuation of application No. 18/048,734, filed on Oct. 21, 2022, granted, now 11,782,687.
Prior Publication US 2024/0134620 A1, Apr. 25, 2024
Prior Publication US 2024/0231781 A9, Jul. 11, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/41 (2018.01)
CPC G06F 8/4435 (2013.01) [G06F 8/427 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A non-transitory computer-readable medium including instructions that, when executed by at least one processor, cause the at least one processor to perform operations for reducing sizes of files, the operations comprising:
identifying a file having a plurality of functions;
determining that a first function and second function each comprises a common block;
identifying a third function configured to implement a functional effect of the common block;
changing the first and second functions by:
removing the common block from at least one of the first or second functions; and
inserting a call to the third function into at least one of the first or second functions; and
updating the file by:
replacing, in the file, at least one of the first or second functions with at least one of the changed first or second functions; and
adding the third function to the file.