Skip to content

Conversation

@bakape
Copy link
Contributor

@bakape bakape commented Jul 19, 2021

Description

Build attribute key or entire key-value lists at compile time. This reduces allocation size for dynamic attribute vectors and allows performing cheap array pointer equality checks for the hottest attribute comparison paths.

Benchmark results:
Screenshot_20210719_214942

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

@siku2 siku2 merged commit 8fbb1a2 into yewstack:master Jul 31, 2021
@voidpumpkin voidpumpkin added A-yew Area: The main yew crate A-yew-macro Area: The yew-macro crate labels Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-yew Area: The main yew crate A-yew-macro Area: The yew-macro crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants