commit | 347a8d73029f8dfc01c063068f903931361fc835 | [log] [tgz] |
---|---|---|
author | Alexander Shorin <kxepal@apache.org> | Sat Apr 04 01:52:47 2015 +0300 |
committer | Alexander Shorin <kxepal@apache.org> | Sat Apr 04 01:58:49 2015 +0300 |
tree | a1a80ad61a071e3745f47b451cfd95f02aafd069 | |
parent | 8e008be130ca2bb929b676cd2450a0d88b9a7cd9 [diff] |
Make with -lstdc++ on BSD systems Without linking with libstdc++ snappy_nif builds fine, but fails to load in runtime which causes confusing errors from CouchDB side.
This is an Erlang NIF for Google's snappy fast compressor and decompressor.
Google snappy's official repository and bug tracking system is at:
Its source is included in this project.
https://github.com/fdmanana/snappy-erlang-nif
Snappy is much faster than zlib's deflate compression, specially for reasonably large amounts of data. Here follow a few basic tests.