jinzhu / copier

Copier for golang, copy value from struct to struct and more
MIT License
5.58k stars 490 forks source link

Thanks and these benchmark #66

Closed frederikhors closed 4 years ago

frederikhors commented 4 years ago

Have you seen these benchmarks here? https://github.com/gotidy/copy#benchmark

What do you think about it? Can we improve by taking a cue from there?

The difference is very high.

Thanks for your effort and your help. 😃

jinzhu commented 4 years ago

Hello @frederikhors

The lib doesn't care about performance, the performance could improve a lots if cut down some features, but I think if the performance really matters and slow down your application, you should not use any this kinds of libs, but assign the value by yourself.