Skip to content

lvan100/fastconv

Repository files navigation

fastconv

English | 中文

最快的 map 和 struct 互转库 🚀🚀🚀

Features

  • Zero GC, Pool & Compress, reducing small objects.
  • All CPU architectures, Not for specific CPU arch.
  • 10 times Faster than json Marshal / Unmarshal.
  • Compatible with json tags.

Benchmarks

Benchmarks.png

Requirements

go 1.21+

Installation

go get github.com/lvan100/fastconv

Examples

src := map / struct / slice
dst := map / struct / slice
fastconv.Convert(src, dst)

Give a Star! ⭐

If you like this project, please give it a star. Thanks!

License

FastConv is Open Source software released under the Apache 2.0 license.

About

最快的 map 和 struct 互转库 🚀🚀🚀

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages