perf(trie-router): avoid calling spread operator for `Object.create(null)` (#3735)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* perf(trie-router): avoid calling spread operator for `Object.create(null)` This optimization is based on the discussion in the following Pull Request. Thanks to @EdamAme-x! https://github.com/honojs/hono/pull/3732 Co-authored-by: EdamAmex <121654029+EdamAme-x@users.noreply.github.com> * perf(trie-router): make some #getHandlerSets parameters optional * fix(trie-router): fix #getHandlerSets bug ---------
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: EdamAmex <121654029+EdamAme-x@users.noreply.github.com>
Diff stats
1 file+18 added−25 removed
- other:+18 added−25 removed