deduplicate classes #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The good thing about hashes as class names is that we can deduplicate them before writing them into the file.
Probably all but the first occurrence of the class should be deleted. This means the definition is in a different section of the file. If that definition gets deleted, we need to move it to the next location where that class occurrs. This means, we need to keep a placeholder comment when deleting a class.
Alternatively there can be a "raw" output file which is not deduplicated, and a "final", deduplicated output file.