Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handles anonymous nodes explicitly in IdMapper
previously anonymous nodes, i.e. nodes w/o :ID would not be put into the IdMapper and so the EncodingIdMapper would have those data indexes set to -1. Sometimes those -1 could affect sorting or lookup and potentially collide with other encoded values by mistake. This commit explicitly sets these anonymous values to 0 and treats that value specifically during collision detection. Also, Encoder isn't allowed to return value 0.
- Loading branch information
Showing
7 changed files
with
233 additions
and
175 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
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
Oops, something went wrong.