elliotwutingfeng / go-fasttld Goto Github PK
View Code? Open in Web Editor NEWgo-fasttld is a high performance effective top level domains (eTLD) extraction module.
License: BSD 3-Clause "New" or "Revised" License
go-fasttld is a high performance effective top level domains (eTLD) extraction module.
License: BSD 3-Clause "New" or "Revised" License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/ci.yml
actions/checkout v4
actions/checkout v4
actions/setup-go v5
coverallsapp/github-action v2
go.mod
github.com/fatih/color v1.17.0
github.com/joeguo/tldextract v0.0.0-20220507100122-d83daa6adef8@d83daa6adef8
github.com/jpillora/go-tld v1.2.1
github.com/karlseguin/intset v1.0.3-0.20221130142345-37ee0d7df651@37ee0d7df651
github.com/mjd2021usa/tldextract v0.9.2
github.com/spf13/afero v1.11.0
github.com/spf13/cobra v1.8.1
github.com/tidwall/hashmap v1.8.1
golang.org/x/net v0.27.0
我benchmark,joeguo/tldextract更快,耗内存更小
BenchmarkJoeguoTld-12 1348 4245811 ns/op 2226227 B/op 30087 allocs/op
BenchmarkFastTld-12 962 6263159 ns/op 3492143 B/op 40125 allocs/op
The current implementation only handles .
as a period delimiter, but not 。
, .
, and 。
Code | Character | Is Handled |
---|---|---|
\u002e | . | ✔️ |
\u3002 | 。 | 🚫 |
\uff0e | . | 🚫 |
\uff61 | 。 | 🚫 |
Ideally, we can handle these period delimiter variants with minimal impact on performance.
Similar to john-kurkowski/tldextract#253
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.