An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.5% on proxy.golang.org

proxy.golang.org : gitlab.com/metakeule/replacer

Package replacer performs fast replacements of placeholders in a []byte. It has no logic and no escaping. For the typical scenario - your template never changes on runtime -, replacer is faster than using (strings|bytes).Replace() or regexp.ReplaceAllStringFunc() or the text/template package. You might run the benchmarks in the benchmark directory and have a look at the example directory.

Registry - Source - Documentation - JSON
purl: pkg:golang/gitlab.com/metakeule/replacer
License: BSD-3-Clause
Latest release: about 1 month ago
Namespace: gitlab.com/metakeule
Stars: 0 on gitlab.com
Forks: 0 on gitlab.com
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago