Skip to content

Conversation

@sentientforest
Copy link
Collaborator

Implement swap step performance enhancements:

2. **Add a zero-liquidity fast-forward** — When `liquidity=0` and `amountIn=0`, skip directly to the next initialized tick across multiple words instead of one word at a time
3. **Add a liquidity guard in computeSwapStep** — Early return or error when `liquidity=0` rather than silently returning zeros
4. **Fix the typo** — `intialized` → `initialized` in `tick.helper.ts:124`

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