-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Build the trie strictly. This has an up front cost, but saves time later when matching. - Force the result early in the alter function in insertTAC. Improves construction times a bit. - Replace the ACLink type with Maybe (ACNode a). This lets us use the value from IM.lookup directly, and simplifies the code. Doesn't seem to have an observable effect on benchmarks. - Update the NFData instances to not rnf outs. It was there since random benchmarks are unlikely to hit O(n^2), but we can do without it. - Use ByteString instead of ByteString.Char8. Char doesn't give use anything here. - Update complexities to be more accurate. - Other small implementation changes.
- Loading branch information
Showing
4 changed files
with
53 additions
and
47 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
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