3 ms·
Simplicity is what users indirectly need. Go is not about providing the fastest implementations out of the box, it's about having a broad toolset in the standa
by Philip-J-Fry 5y ago
Simplicity is what users indirectly need.
Go is not about providing the fastest implementations out of the box, it's about having a broad toolset in the standard library to solve the problems Go was built for.
Faster (and often more complex) implementations are a maintenance burden for Go contributors. It's far better for a high performance regex library to be a third party package for those that need it.
For those where regex is a limiting factor in performance they'll soon find out why. But for most people fast regex is nothing compared to the overhead of a simple HTTP request.