-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: add pure Go
build mode
#94
Comments
The |
@klauspost, is it possible to remove the allocation here? It looks like this allocation reduces the decompression speed for small blocks. |
@valyala 40 bytes per block? ok - I will take a look. |
@valyala Added here: klauspost/compress#142 Seems quite harmless so I will probably merge it later today. |
The issue
VictoriaMetrics build requires
cgo
, since it uses valyala/gozstd wrapper for the upstream zstd library written in C. This complicates build process, especially for cross-compliation - it requires C compiler toolchain for the target architecture additionally to Go.The solution
To add ability to use pure Go implementation for zstd - github.com/klauspost/compress/tree/master/zstd. This will simplify cross-compilation builds for various GOOS/GOARCH combinations.
See this thread on golang-nuts for more details.
The text was updated successfully, but these errors were encountered: