Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use string scanner with baseparser #105

Merged
merged 7 commits into from
Jan 17, 2024

Commits on Jan 15, 2024

  1. delete unuse method

    naitoh committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1498986 View commit details
    Browse the repository at this point in the history
  2. use StringScanner with match method

    [Why]
    Using StringScanner reduces the string copying process and speeds up the process.
    naitoh committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    55cc84b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff9dabf View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Remove @buffer and process only use @scanner.

    Removed `attr_reader :buffer` and added similar `def buffer` and `def buffer_encoding=` interfaces.
    naitoh committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    88bde33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b97e16 View commit details
    Browse the repository at this point in the history
  3. Change @scanner.match to respond nil/@scanner in order to impro…

    …ve processing speed.
    naitoh committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    eeb45e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Add more description

    kou committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ea8e4bb View commit details
    Browse the repository at this point in the history