Skip to content

Improve Argument Filtering Performance and Logging in Tool Struct#2

Open
yunusemremeral wants to merge 1 commit intosuccinctlabs:mainfrom
yunusemremeral:perf-arg-filtering-and-logging
Open

Improve Argument Filtering Performance and Logging in Tool Struct#2
yunusemremeral wants to merge 1 commit intosuccinctlabs:mainfrom
yunusemremeral:perf-arg-filtering-and-logging

Conversation

@yunusemremeral
Copy link

Enhanced argument filtering in the Tool struct by introducing a HashSet for removed arguments, improving performance for large argument lists.
Improved error handling in is_duplicate_opt_arg by logging warnings for non-UTF8 flags instead of panicking.
Made log levels more explicit when ignoring duplicate optimization arguments.
Refactored cflags_env for more concise and readable flag joining.
Updated all comments to English for clarity and consistency.

…et for removed arguments, improving performance for large argument lists.

Improved error handling in is_duplicate_opt_arg by logging warnings for non-UTF8 flags instead of panicking.
Made log levels more explicit when ignoring duplicate optimization arguments.
Refactored cflags_env for more concise and readable flag joining.
Updated all comments to English for clarity and consistency.
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