sipb / spike

Implementing a packet level software network load balancer
MIT License
11 stars 10 forks source link

Extraneous maglev function #27

Open ed1d1a8d opened 7 years ago

ed1d1a8d commented 7 years ago

I propose that we get rid of the function Add: https://github.com/sipb/spike/blob/master/maglev/maglev.go#L109-L111

I think it complicates the api. I feel things would be simpler if only SetWeight were used.

cryslith commented 7 years ago

@ed1d1a8d Go for it.