Skip to content

0.1.1

Compare
Choose a tag to compare
@kareman kareman released this 23 Aug 12:49
· 7 commits to master since this release
8293447
  • Simplify .range(of:) and SearchCache.

  • Readme: add note about long build times.

  • Make Pattern Equatable. (#44)

    Make AnyPattern not use protocol type.

  • Set Swift version to 5.3.

    CI: use 5.3-DEVELOPMENT-SNAPSHOT-2020-08-08-a on Linux.
    Cannot use just 5.3 on linux, and when using 5.3-DEVELOPMENT-SNAPSHOT-2020-08-08-a on macOS it cannot find XCTest.

  • Merge pull request #45 from kareman/Generic-input

    Support generic input

  • Merge pull request #47 from kareman/Readme-require-Swift-5.3

    Readme: require Swift 5.3.
    Add part about pattern input types.
    Split up readme unit test to avoid warning about it taking too long to type check.

  • GitHub-related stuff (#51)

    Update bug-report.md
    CI test: don’t run on non-code related changes.
    Update feature-request.md

  • Fix bug where not all .skip were replaced.

    setupSkip(at: i) adds 1 new instruction somewhere after ì, so we cant loop over self.indices directly.

  • Update dependency swift-argument-parser. (#54)

  • PatternsTests: Only warn when expressions take long to build.

    Not entire functions.

  • Improve and fix documentation for Skip.

  • Merge pull request #55 from kareman/documentation

    Add documentation

  • Restore all former String performance tests.

  • Make separate utf8 performance tests.

  • Make instructions @usableFromInline.

  • Merge pull request #56 from kareman/Optimise-after-adding-generic-Input

    Specifically specialize for String and UTF8View. It stopped happening automatically after making Pattern.Input generic. Makes a huge difference in performance.

  • Rename Word.boundary to Word.Boundary().

  • Rename Line.start to Line.Start(). Likewise with Line.end.

    To make things more consistent, and to allow automatically returning a type with the correct Input type. Which is only possible with a function/initialiser.

  • Don't use Pattern.Instructions outside of its file.

    It sometimes causes compiler crashes, it doesn't in this case but we might as well be consistent and never use it.

  • Document Skip() even more.