Commit graph

250 commits

Author SHA1 Message Date
Peter Taoussanis
c69bb0ec5f Perf: only set bindings when necessary 2013-08-02 21:28:51 +07:00
Peter Taoussanis
4071d0f3ec Switch to simpler extend-freeze, extend-thaw custom type API (ALPHA) 2013-08-02 21:28:51 +07:00
Peter Taoussanis
c2a964932c Add custom-freezer macro for easier Freezable extension 2013-08-02 15:04:11 +07:00
Peter Taoussanis
99091b0a32 Add support for custom thaw readers 2013-07-29 16:43:29 +07:00
Peter Taoussanis
8e4cc072e3 Move Reader fallback out of Freezable protocol to make protocol extensible 2013-07-29 15:58:51 +07:00
Peter Taoussanis
69611657c7 Expose low-level fns: freeze-to-stream!, thaw-from-stream! 2013-07-29 15:57:36 +07:00
Peter Taoussanis
a8b1686a54 Make head-meta ^:const 2013-07-25 15:41:13 +07:00
Peter Taoussanis
38a79f63e3 Add note to clear v1 build artifacts 2013-07-23 23:21:48 +07:00
Peter Taoussanis
d4260167e5 v2.0.0 2013-07-22 23:44:37 +07:00
Peter Taoussanis
8414b9b0b5 Add cjwz logo to README 2013-07-09 14:48:22 +07:00
Peter Taoussanis
52dea4dff8 Bump non-core deps 2013-07-09 13:26:25 +07:00
Peter Taoussanis
93ef118e80 Housekeeping 2013-07-06 15:55:59 +07:00
Peter Taoussanis
652b0b05cd README typo 2013-06-27 19:29:26 +07:00
Peter Taoussanis
8b5e60e517 Add CHANGELOG.md 2013-06-27 19:04:04 +07:00
Peter Taoussanis
e9dcb8e54b Lein :warn-on-reflection -> :global-vars 2013-06-26 18:10:13 +07:00
Peter Taoussanis
433aed0346 Add codox lein alias 2013-06-26 17:07:51 +07:00
Peter Taoussanis
a84d3de7f6 Add before-run, after-run Expectations fns 2013-06-26 14:44:27 +07:00
Peter Taoussanis
823dd94d71 RC1, add Clojure 1.6 test 2013-06-25 14:49:24 +07:00
Peter Taoussanis
4adb7fa376 Housekeeping 2013-06-24 15:22:54 +07:00
Peter Taoussanis
8a33f15801 Temporarily disable grease dep 2013-06-22 18:38:16 +07:00
Peter Taoussanis
bfce953a96 Tweak README 2013-06-22 17:42:52 +07:00
Peter Taoussanis
dc955d8412 Update README 2013-06-19 22:21:36 +07:00
Peter Taoussanis
531a698ecf Merge pull request #11 from mpenet/greased
Using greased for ByteArrayIO
2013-06-19 01:47:44 -07:00
Max Penet
aad04e6737 touch 2013-06-18 18:35:08 +02:00
Max Penet
fb09ebb89b try grease 0.2.1 2013-06-18 18:32:54 +02:00
Peter Taoussanis
057a6082fc Tweak README 2013-06-18 20:59:28 +07:00
Peter Taoussanis
ac3901f626 Reverse use of fast io-streams
Seemed to be causing issues in multi-JVM auto-tests. The added perf. benefit was
minor for Nippy's use case (~2-3%) - so this isn't an urgent change. Will
re-examine again later.
2013-06-18 14:08:22 +07:00
Peter Taoussanis
f7a96bd37f Housekeeping 2013-06-18 13:48:34 +07:00
Peter Taoussanis
0940033223 Merge branch 'dev' 2013-06-18 09:55:16 +07:00
Peter Taoussanis
9a2b0a068b thaw API should throw on first non-legacy error 2013-06-18 09:49:42 +07:00
Peter Taoussanis
a2cdfba874 Merge branch 'dev' 2013-06-17 23:20:41 +07:00
Peter Taoussanis
4326da0ae5 Add tooling API 2013-06-17 23:20:17 +07:00
Peter Taoussanis
a5c986672d Merge branch 'dev' 2013-06-17 15:13:27 +07:00
Peter Taoussanis
8aa1bb3d0f Bump version (2.0.0-alpha8) 2013-06-17 15:13:14 +07:00
Peter Taoussanis
c8c0b99ae2 Update benchmarks (2.0.0-alpha6 w/fast io-streams) 2013-06-17 15:12:18 +07:00
Peter Taoussanis
3e6b12ac11 Housekeeping for 67633d5 2013-06-17 13:54:45 +07:00
Peter Taoussanis
3ab7176c01 Merge pull request #10 from mpenet/fast-streams
non sync version of byte-array iostreams (from Apache Harmony, also used in Cassandra)
2013-06-16 23:33:38 -07:00
Max Penet
67633d5fd6 try non sync version of byte-array iostreams 2013-06-16 22:27:22 +02:00
Peter Taoussanis
439ad90381 Merge branch 'dev' 2013-06-16 19:36:57 +07:00
Peter Taoussanis
559c73abef Fix core dump issue (important), simplify API
PROBLEM: :legacy-mode :auto/true thawing was resulting in JVM core
dumps when attempting to use Snappy to decompress encrypted data.

CAUSE: The org.iq80.snappy implementation seems to choke on the
random IV byte data being generated by the AES128 encrypter. This
may or may not be a bug (still awaiting feedback from lib's authors).

SOLUTION: We're only susceptible to this issue when trying to
decompress data that is: a) encrypted, b) being thawed in legacy mode.
In particular, we're _not_ susceptible to this issue when thawing
in non-legacy mode because in that case we have a header explicitly
warning us that the data is encrypted.

An obvious work-around, therefore, is just to disable decryption when
attempting to thaw legacy-mode data. In practice this isn't a problem
because older versions of Nippy didn't support encryption anyway.
2013-06-16 19:33:23 +07:00
Peter Taoussanis
e351fdfc43 Rename default compressor, encryptor 2013-06-16 17:55:20 +07:00
Peter Taoussanis
a2376184dc Auto AES128 block size 2013-06-16 16:20:55 +07:00
Peter Taoussanis
3ac90b7f3d Clean up benchmarks chart 2013-06-16 14:47:20 +07:00
Peter Taoussanis
da394753ce Merge branch 'dev' 2013-06-16 14:08:31 +07:00
Peter Taoussanis
c6b00ee90e Bump version (2.0.0-alpha6) 2013-06-16 14:07:11 +07:00
Peter Taoussanis
5877dc4df0 Update benchmarks (2.0.0-alpha6) 2013-06-16 14:06:36 +07:00
Peter Taoussanis
4ec950417c Rewrite all stream helpers as macros (performance) 2013-06-16 13:23:32 +07:00
Peter Taoussanis
26ad8dd252 Reorganize low-level stream fns (prepping for perf work) 2013-06-16 13:23:32 +07:00
Peter Taoussanis
c5d039b183 Make coll-thaw, coll-thaw-kvs macros (performance) 2013-06-16 13:23:32 +07:00
Peter Taoussanis
9c207cd6af Housekeeping 2013-06-16 13:23:32 +07:00