Skip to content

Commit

Permalink
Merge pull request #527 from Shopify/crc32-optimization
Browse files Browse the repository at this point in the history
Use an optimized crc32 library which is faster
  • Loading branch information
eapache committed Aug 31, 2015
2 parents d851855 + 8fa523b commit 2d4c75a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crc32_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package sarama

import (
"encoding/binary"
"hash/crc32"

"github.com/klauspost/crc32"
)

// crc32Field implements the pushEncoder and pushDecoder interfaces for calculating CRC32s.
Expand Down

0 comments on commit 2d4c75a

Please sign in to comment.