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

WIP: the tip of my filterx performance efforts #434

Open
wants to merge 48 commits into
base: main
Choose a base branch
from

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Dec 30, 2024

Please ignore this PR as it is not intended to be merged. It contains work-in-progress local patches I am yet to extract into separate pull requests.

It is rebased on top of my local merge of all related PRs, so I can maintain those branches separately as they get merged.

@bazsi bazsi force-pushed the filterx-perf-project branch 4 times, most recently from 6e3ce03 to 0b045c1 Compare January 5, 2025 16:32
@bazsi bazsi force-pushed the filterx-perf-project branch 3 times, most recently from fbff61c to 5cab36c Compare January 6, 2025 19:10
@bazsi bazsi force-pushed the filterx-perf-project branch 6 times, most recently from d940c50 to 89e67ad Compare January 11, 2025 16:44
@bazsi bazsi force-pushed the filterx-perf-project branch 4 times, most recently from 5be65da to 706b176 Compare January 22, 2025 10:43
@bazsi bazsi force-pushed the filterx-perf-project branch 5 times, most recently from 441b84d to 7beb087 Compare January 27, 2025 08:49
@bazsi bazsi force-pushed the filterx-perf-project branch 3 times, most recently from 7b7511f to 444d2ca Compare February 16, 2025 12:08
@bazsi bazsi force-pushed the filterx-perf-project branch from 444d2ca to 6a704c7 Compare February 17, 2025 06:45
Just like Python, sometimes we want to turn an object into a string to add
it to trace messages (repr) indended to the developer, in other cases we
want a simpler string representation aimed at customers (str).

This patch adds str() in addition to the existing repr().  If str() is not
implemented it defaults to using repr, so defaults doing the same as today.

Signed-off-by: Balazs Scheidler <[email protected]>
bazsi added 29 commits February 24, 2025 17:41
Generator expressions either require a data structure on the LHS of an
expression, or it uses a default storage mechanism, which was json() prior
to this patch.

Change these defaults to dict/list as appropriate.

Signed-off-by: Balazs Scheidler <[email protected]>
This change will cause all json() invocations to use the new native
dictionary/list.

Signed-off-by: Balazs Scheidler <[email protected]>
Instead of the JSON counterparts.

Signed-off-by: Balazs Scheidler <[email protected]>
A scope is only considered dirty if it has message-tied variables that
are changed. In any other case it's not dirty, so no sync is needed.

Signed-off-by: Balazs Scheidler <[email protected]>
This reverts commit 924c3a8e70e94151da903c533ac6ad7e61c06e30.
This is probably the next most accessed field in that struct.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
This reverts commit c2215ffe5c8fe0c28a59ead7bc071827e9d335ad.
This reverts commit 350c1cab2e643d12c280c7df0e402e96694f72e2.
@bazsi bazsi force-pushed the filterx-perf-project branch from 6a704c7 to dfdb06c Compare February 24, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant