cloudwego / cloudwego/sonic-rs

[Optimize] rewrite recursive function into tail-call version

Open
#130 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.