Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Idea: Create Nokogiri's complements gem #1

Open
sergii opened this issue Dec 26, 2023 · 0 comments
Open

Idea: Create Nokogiri's complements gem #1

sergii opened this issue Dec 26, 2023 · 0 comments

Comments

@sergii
Copy link

sergii commented Dec 26, 2023

Hey @joeldrapper!

There is a drop-in replacement gem Nokolexbor for Nokogiri. Which claims to be 5.2x faster at parsing HTML and up to 997x faster at CSS selectors than Nokogiri.

What do you think about creating an extra gem phlex-testing-nokolexbor in order to utilize that speed? Is it reasonable?

From the Nokolexbor's Readme: It's a performance-focused HTML5 parser for Ruby based on Lexbor.
It supports both CSS selectors and XPath. Nokolexbor's API is designed to be 1:1 compatible as much as possible with Nokogiri's API.

@sergii sergii changed the title Idea: Create a gem Idea: Create Nokogiri's complements gem Dec 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant