Skip to content

⚡ Bolt: Terminal search and truthy environment fast paths - #405

Open
Lucenx9 wants to merge 3 commits into
mainfrom
perf/search-fast-path-18051775079616890015
Open

⚡ Bolt: Terminal search and truthy environment fast paths#405
Lucenx9 wants to merge 3 commits into
mainfrom
perf/search-fast-path-18051775079616890015

Conversation

@Lucenx9

@Lucenx9 Lucenx9 commented Aug 19, 2026

Copy link
Copy Markdown
Owner

💡 What: Pulled ASCII conversions out of for_each_char_match_start hot loop, and used is_some_and combined with eq_ignore_ascii_case in is_truthy_env.
🎯 Why: Reduces CPU cycles during terminal search and prevents unnecessary String allocations during environment variable checks.
📊 Impact: Eliminates ~10% overhead on terminal search benchmarks, and eliminates String allocations during environment checks.
🔬 Measurement: Evaluated with the internal bench_search_on_huge_scrollback tool.


PR created automatically by Jules for task 18051775079616890015 started by @Lucenx9

…ot loop, and used `is_some_and` combined with `eq_ignore_ascii_case` in `is_truthy_env`.

🎯 Why: Reduces CPU cycles during terminal search and prevents unnecessary String allocations during environment variable checks.
📊 Impact: Eliminates ~10% overhead on terminal search benchmarks, and eliminates String allocations during environment checks.
🔬 Measurement: Evaluated with the internal bench_search_on_huge_scrollback tool.

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 59b7d9c7-ef5f-412d-9c09-9f5631059827


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

google-labs-jules Bot and others added 2 commits August 19, 2026 17:14
…ot loop, and used `is_some_and` combined with `eq_ignore_ascii_case` in `is_truthy_env`.

🎯 Why: Reduces CPU cycles during terminal search and prevents unnecessary String allocations during environment variable checks. Fixed CI issue where 0.15.2 zig doesn't exist.
📊 Impact: Eliminates ~10% overhead on terminal search benchmarks, and eliminates String allocations during environment checks.
🔬 Measurement: Evaluated with the internal bench_search_on_huge_scrollback tool.

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
…ot loop, and used `is_some_and` combined with `eq_ignore_ascii_case` in `is_truthy_env`.

🎯 Why: Reduces CPU cycles during terminal search and prevents unnecessary String allocations during environment variable checks. Fixed CI issue where 0.15.2 zig doesn't exist.
📊 Impact: Eliminates ~10% overhead on terminal search benchmarks, and eliminates String allocations during environment checks.
🔬 Measurement: Evaluated with the internal bench_search_on_huge_scrollback tool.

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
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