Skip to content

Releases: itchyny/rassemble-go

Release v0.1.1

08 Mar 12:53
Compare
Choose a tag to compare
  • Fix merging case insensitive literals.
  • Optimize output size of case insensitive patterns.

Release v0.1.0

15 Sep 12:31
Compare
Choose a tag to compare

Initial release!

This library was published back in Oct 2020, but I haven't created a release yet. There were lots of concerns about the very complex code of comparing runes for merging rune sequences. However, I refactored the entire the implementation recently and the code looks much clean and readable. The refactoring was achieved by breaking a rune sequence into a slice of *syntax.Regexp each runes. By doing this, merging literal prefixes can be implemented just as same as merging regular expression concatenations, using (*syntax.Regexp).Equal. This implementation sacrifices memory allocation and performance. This library is provided not for high performance processing, but for joining lots of regular expressions once on initialization.