aws / aws/event-ruler

Simplify anything-but

Open
#32 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
615
Forks
82
Avg merge
1d 22h
Merged PRs (30d)
7

Description

## What is your idea?

The redesign of `ByteMachine` that came in with wildcards can efficiently represent byte-range transitions. Given that, `anything-but` and `anything-but-prefix` can be directly represented in a ByteMachine straightforwardly and efficiently, which would simplify the rule-matching code path.

## Would you be willing to make the change?

Maybe

Contributor guide

Open the contributing guide

Research direction

Start by reading the ByteMachine redesign and locating the current rule-matching paths for `anything-but` and `anything-but-prefix`. Determine how byte-range transitions could represent both operators while preserving existing matching behavior. Done means the operators use the simplified ByteMachine path without changing their semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.