cloudwego / cloudwego/sonic-rs
[Optimize] rewrite recursive function into tail-call version
Open
- Dominant language
- Rust
- Stars
- 920
- Forks
- 68
- Avg merge
- 2h 5m
- Merged PRs (30d)
- 1
Description
Actually, we can adjust the code to be a tail-call version; this will remove the overhead of some function calls.
[The paper](https://dl.acm.org/doi/10.1145/800179.810196) proved this.
Contributor guide
Assessment
This issue has not been assessed yet.