MiSawa / xq

Pure rust implementation of jq
MIT License
318 stars 18 forks source link

Refactor slice range calculation #141

Closed itchyny closed 2 years ago

itchyny commented 2 years ago

Since the current implementation looks quite complex, I refactored the logic for slice range calculation.

MiSawa commented 2 years ago

Wow, retrospectively, I don't know why it was that overly complex code. Thanks!