Skip to content

Commit

Permalink
refactor: Reduce string allocations in Expr::display_name (use write …
Browse files Browse the repository at this point in the history
…instead of format!) (apache#10454)

* refactor: use Write instead of format! to implement display_name

* Use static dispatch for write

* remove more allocations

---------

Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
erratic-pattern and alamb authored May 12, 2024
1 parent 1eff714 commit 8cc92a9
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 143 deletions.
Loading

0 comments on commit 8cc92a9

Please sign in to comment.