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 <andrew@nerdnetworks.org>
  • Loading branch information
2 people authored and findepi committed Jul 16, 2024
1 parent a4da3c7 commit 8efe82d
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 143 deletions.
Loading

0 comments on commit 8efe82d

Please sign in to comment.