fhmq / hmq

High performance mqtt broker
Apache License 2.0
1.32k stars 273 forks source link

Update to Go 1.18 and replace fnv-1a with xxhash #158

Closed muXxer closed 2 years ago

muXxer commented 2 years ago

This PR replaces fnv-1a hash function with xxhash. xxhash should be faster and better maintained.

It also updates all modules and Go version to 1.18.

shoothzj commented 2 years ago

@muXxer lgtm, you should also change go version in github action and dockerfile

muXxer commented 2 years ago

@Shoothzj you are right, my bad! It's fixed now :)

muXxer commented 2 years ago

@chowyu08 can you have a look at this? :) thank you!