Peter Taoussanis
f59f2f33cb
NB fix min-val int-as-long
2015-12-01 14:45:24 +07:00
Peter Taoussanis
4df5446c5b
Update benchmarks
2015-10-06 17:56:15 +07:00
Peter Taoussanis
3479ddad00
Clean up thaw fallback behaviour, decrease number of fallback cases
2015-10-06 17:56:15 +07:00
Peter Taoussanis
037cb14739
Misc hk
2015-10-06 15:57:55 +07:00
Peter Taoussanis
0905b96ca6
NB: Refactor thaw v1 compatibility support
2015-10-06 14:39:34 +07:00
Peter Taoussanis
9c8adfe513
**NB BREAKING**: change default :v1-compatibility? thaw option
...
Motivation for changing this default:
v1 compatibility requires that in the event of a thaw failure, a fallback
attempt is made using v1 options. This must include an attempt at Snappy
decompression.
But the version of Snappy we're using has a major bug that can segfault +
crash the JVM when attempted against non-Snappy data:
https://github.com/dain/snappy/issues/20
I'd switch to an alternative Snappy implementation, but the only other
implementation I'm aware of uses JNI which can introduce troublesome
compatibility issues even for people who don't want the Snappy support.
Had hoped that the Snappy bug would eventually get fixed, but that's
looking unlikely.
Nippy v2 was released on July 22nd 2013 (2 years, 2 months ago) - so
am hoping that the majority of lib users will no longer have a need
for v1 data thaw support at this point.
For those that do, they can re-enable v1 thaw support with this flag.
If a better alternative solution ever presents (e.g. the Snappy bug
is fixed, an alternative implementation turns up, or we write a util
to reliably identify Snappy compressed data) - we can re-enable this
flag by default.
2015-10-06 13:12:29 +07:00
Peter Taoussanis
e71df20a42
Tests: re-enable decryption tests with invalid passwords
2015-10-06 13:07:42 +07:00
Peter Taoussanis
cf38d6f111
Fix final-freeze-fallback arg order
2015-10-06 13:07:42 +07:00
Peter Taoussanis
2df9cb80d6
Add small-bytes type
2015-10-06 13:07:42 +07:00
Peter Taoussanis
c7c0c6fe54
Stop documenting :skip-header? option
...
It's almost entirely useless now, and dangerous: folks who absolutely know what
they're doing can keep using it, but don't broadcast its existance.
2015-10-06 13:07:41 +07:00
Peter Taoussanis
c5901730ea
Update ba inspector
2015-10-06 13:07:41 +07:00
Peter Taoussanis
7faaf48ee7
Deprecate Compressable-LZMA2 (was anyway marked as experimental)
2015-10-06 13:07:41 +07:00
Peter Taoussanis
7072f73952
Misc hk
2015-10-06 13:07:41 +07:00
Peter Taoussanis
d61fb06f3b
Primitive ided-long checks
2015-09-30 12:29:05 +07:00
Peter Taoussanis
2ebd8ce2ac
Fix id typing
2015-09-30 12:29:05 +07:00
Peter Taoussanis
998dabc195
NB: refactor freezing utils for easier use by libs + custom extensions, etc.
2015-09-30 12:29:05 +07:00
Peter Taoussanis
15f0de1658
Simplify stream thaw API, switch from macros->fns
2015-09-30 12:29:04 +07:00
Peter Taoussanis
50ffb78c22
Refer rename: encore->enc
2015-09-30 12:29:04 +07:00
Peter Taoussanis
734e88b20c
defonce on all dynamic vars (allow alter-var-root)
2015-09-30 12:29:04 +07:00
Peter Taoussanis
f67f9da64e
Remove alpha status on final-freeze-fallback
2015-09-30 12:29:04 +07:00
Peter Taoussanis
9c1e8751c4
Simplify stream freeze API, switch from macros->fns
2015-09-30 12:29:04 +07:00
Peter Taoussanis
da77b3d582
NB: Remove (long-deprecated) freezing legacy mode
2015-09-30 12:29:04 +07:00
Peter Taoussanis
89c9328596
Experimental optimization: zero-copy freeze mode
2015-09-30 12:29:04 +07:00
Peter Taoussanis
fa17eb3a78
Update benchmarks
2015-09-30 12:29:04 +07:00
Peter Taoussanis
327a800d80
Experimental: optimize common case of small maps, sets, vectors
2015-09-30 12:29:04 +07:00
Peter Taoussanis
b298d690c7
Misc hk, reorganize type ids
2015-09-30 12:29:04 +07:00
Peter Taoussanis
885f192f6b
Micro optimization: drop unnecessary double kvs count
...
Had a vestigial count doubling from an historical implementation
that constructed hash-maps using `(apply hash-map ...)`
2015-09-30 12:20:53 +07:00
Peter Taoussanis
8989df5c3d
v2.11.0-SNAPSHOT
2015-09-30 12:20:52 +07:00
Peter Taoussanis
df9eef0f2b
Merge branch 'v2.10'
2015-09-30 12:18:32 +07:00
Peter Taoussanis
280019a4bc
v2.10.0
2015-09-30 12:11:32 +07:00
Peter Taoussanis
4765a32e4e
Optimize compact long freezer
2015-09-30 11:57:47 +07:00
Peter Taoussanis
1506747e42
Tune buffer size, freeze compressor selector
2015-09-30 11:57:47 +07:00
Peter Taoussanis
9c33f4f5ac
Update benchmarks
2015-09-30 11:57:47 +07:00
Peter Taoussanis
ea9286dc90
Micro optimization: kv run is faster still
2015-09-30 11:57:47 +07:00
Peter Taoussanis
1ae8e6c389
Micro optimization: destructure faster than explicit calls here
2015-09-30 11:57:47 +07:00
Peter Taoussanis
956ce7df7e
Micro optimization: read-bytes expansion
2015-09-30 11:57:46 +07:00
Peter Taoussanis
7ae954a229
Micro optimization: remove & args
2015-09-30 11:57:46 +07:00
Peter Taoussanis
53d993e132
Tests housekeeping
2015-09-30 11:57:46 +07:00
Peter Taoussanis
2f27666d05
Rename deprecated type ids
...
Making room for >1 deprecated id per type
2015-09-30 11:57:46 +07:00
Peter Taoussanis
bbbc12ce30
Misc hk
2015-09-30 11:57:46 +07:00
Peter Taoussanis
f1af76635a
Project.clj housekeeping, drop support for Clojure 1.4
...
Clojure 1.4 support is becoming more and more hassle; not worth it
2015-09-30 11:57:46 +07:00
Peter Taoussanis
67d1dfd34f
README typo
2015-09-30 11:57:46 +07:00
Peter Taoussanis
b20321622b
v2.10.0-RC1
2015-09-30 11:57:46 +07:00
Peter Taoussanis
ce39987b8c
Bump deps
2015-09-30 11:57:46 +07:00
Peter Taoussanis
db375e7686
Perf: anon fn is faster here
2015-09-30 11:57:46 +07:00
Peter Taoussanis
cea505484a
Note re double vestigial kvs length
2015-09-30 11:57:46 +07:00
Peter Taoussanis
36abe07f2b
Revert "Experimental/perf: kvs work directly against MapEntry"
...
This reverts commit e150775cfe82f8206ddc88034417421e200851fa.
2015-09-30 11:57:45 +07:00
Peter Taoussanis
aa9a18088f
Experimental/perf: kvs work directly against MapEntry
2015-09-30 11:57:45 +07:00
Peter Taoussanis
9d4db3106e
Perf: create Ratio's directly
2015-09-30 11:57:45 +07:00
Peter Taoussanis
40b39db9eb
v2.10.0-beta1
2015-09-17 11:15:00 +07:00