-
Notifications
You must be signed in to change notification settings - Fork 12
Labels
area: performancePerformance improvementsPerformance improvementstype: bugSomething isn't workingSomething isn't working
Milestone
Description
Package
CLI
Describe the bug
Skipping inside queries that do $.data[*][0] do not skip the end of the array though it only needs to read the first entry [0].
Minimal Reproducible Example
cargo run --bin rq -- -v $.data[*][10] ../rsonpath/res/json/nspl_mini.json > run.log
With this json:
Expected behavior
It should skip after [10] entry to the end of the array but it does not.
Workarounds (optional)
No response
Proposed solution (optional)
Handle that case in the engine. To actually skip after reading the important element.
Version of the release
v0.9.4
Rust version
rustc 1.86.0 (05f9846f8 2025-03-31)
Target triple
host: x86_64-unknown-linux-gnu
Features enabled
default
Codegen options
No response
Additional context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: performancePerformance improvementsPerformance improvementstype: bugSomething isn't workingSomething isn't working
Type
Projects
Status
Merged