Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix boolean attributes with literal values #9

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

sbsoftware
Copy link
Owner

@sbsoftware sbsoftware commented Jun 17, 2024

Fixes #8

Benchmark (new machine):

         ecr   1.43M (700.58ns) (± 1.91%)  4.25kB/op          fastest
     to_html 827.17k (  1.21µs) (± 1.36%)   5.5kB/op     1.73× slower
html_builder  59.39k ( 16.84µs) (± 1.13%)  10.4kB/op    24.03× slower
       water  58.85k ( 16.99µs) (± 1.08%)  11.2kB/op    24.26× slower
   blueprint 994.85  (  1.01ms) (±18.90%)  9.29MB/op  1434.79× slower

@sbsoftware sbsoftware merged commit 4c0bc0b into main Jun 17, 2024
1 check passed
@sbsoftware sbsoftware deleted the feature/HTML-35 branch June 17, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Boolean attributes not working with literals
1 participant