-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
igvm: add simple merge function (#50)
On large IGVM files with many headers, the merge function can take a significant amount of time when attempting to merge headers via compatibility mask. I wasn't able to think of any good way to perform this merge faster while maintaining stability of the headers. Offer a `merge_simple` function that merely does the required fixups. This is significantly faster, and since serialization deduplicates file_data, the size increase of the final file isn't much larger due to variable headers individually being quite small. In the future we could implement a linear time `unstable_merge` that attempts to merge equivalent headers via a hashmap. #43
- Loading branch information
Showing
1 changed file
with
159 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters