Skip to content

Perf/optimize bool to int#3306

Closed
awanawana wants to merge 2 commits intopallets:mainfrom
awanawana:perf/optimize-bool-to-int
Closed

Perf/optimize bool to int#3306
awanawana wants to merge 2 commits intopallets:mainfrom
awanawana:perf/optimize-bool-to-int

Conversation

@awanawana
Copy link
Copy Markdown

No description provided.

awanawana and others added 2 commits April 3, 2026 10:54
Add new module click.enhanced with helpful utilities:
- prompt_for_confirmation: Enhanced confirmation prompts
- prompt_for_value: Custom value prompts
- select_from_options: Selection menu
- ProgressIndicator: Progress bar context manager
- spinner: Simple spinner for short operations
- print_table: Pretty print tabular data

🤖 Generated with Claude Code
Python boolean to int conversion has overhead. Using explicit ternary
instead of relying on implicit bool->int conversion improves performance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davidism davidism closed this Apr 4, 2026
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.

2 participants