Peter Taoussanis
7925982939
Print warning when replacing a custom type reader
2014-08-27 19:20:23 +07:00
Peter Taoussanis
13cdf06a60
Make coerce-custom-type-id private
2014-08-27 19:20:23 +07:00
Peter Taoussanis
9e60939848
EXPERIMENTAL: Support keyword-id extensions ( #50 )
2014-07-06 13:25:08 +07:00
Peter Taoussanis
70dd8f637c
Lock-free memoized type test
2014-04-29 23:10:26 +07:00
Peter Taoussanis
06cf8aefd6
Update benchmarks
2014-04-29 23:10:26 +07:00
Peter Taoussanis
20b1c2b1d2
Encode compression type in Nippy header, major refactor/housekeeping
...
Housekeeping includes:
* Importing useful encryption+compression stuff into primary ns
for lib consumers.
* Promoting a number of things from Alpha status.
* Exceptions are now all `ex-info`s.
* Simplification of `thaw` API: Nippy v1 support is now automatic
& configuration-free (performance impact in most cases is negligible).
2014-04-29 23:10:26 +07:00
Peter Taoussanis
b7a454a9c8
EXPERIMENTAL: Make LZ4 the default Nippy compressor (back-compatible for header'ed data)
2014-04-29 23:10:26 +07:00
Peter Taoussanis
5b9358acf9
LZ4: use fast decompressor
2014-04-29 23:10:26 +07:00
Peter Taoussanis
a6aba2c92a
Add experimental LZ4 compressors
2014-04-29 23:10:26 +07:00
Peter Taoussanis
3c8661a094
[ #48 ] Fix freeze/thaw identity on empty lazy seqs
2014-04-29 23:08:00 +07:00
Peter Taoussanis
7d84099074
IMPORTANT FIX: small strings weren't getting a proper UTF-8 encoding (xkihzew)
...
`(.getBytes <string>)` was being used here instead of
`(.getBytes <string> "UTF-8")` as is correct and done elsewhere.
This means that small UTF-8 strings may have been incorrectly stored
in environments where UTF-8 is not the default JVM character encoding.
Bug was introduced in Nippy v2.6.0, released 9 days ago (2014 Mar 30).
*********************************************************************
Please check for possible errors in Unicode text written using Nippy
v2.6.0 if your JVM uses an alternative character encoding by default
*********************************************************************
Really sorry about this, not sure how this slipped in.
Thanks to @xkihzew for the bug report.
2014-04-08 17:04:53 +07:00
Peter Taoussanis
6058ac7b54
Fix freezable? fn name typo (mbossenbroek)
2014-03-18 14:23:15 +07:00
Peter Taoussanis
54389cc3a0
NB migrate utils stuff to encore lib
2014-02-23 19:15:55 +07:00
Peter Taoussanis
107cc53f65
Check freezable? against atom type
2014-02-16 19:09:02 +07:00
Peter Taoussanis
42b366a432
Experimental freezable? fn
2014-02-16 18:49:45 +07:00
Peter Taoussanis
0b56746a61
Mod (experimental) Compressable-LZMA2 to use new :skip-header? mode, add :headerless-meta assertion
2014-02-09 18:29:16 +07:00
Peter Taoussanis
e2847f348f
[ #38 ]: Distinguish between BigInt/BigInteger on thawing (mlacorte)
2014-01-30 16:16:50 +07:00
Peter Taoussanis
3f982e78cd
Make public some macros useful for custom extensions, add experimental compact-long type
2014-01-23 23:13:21 +07:00
Peter Taoussanis
cfa0969bea
Optimize some small, common types
2014-01-22 16:50:53 +07:00
Peter Taoussanis
1edde2d53b
Revert "New compact byte representation, backwards-compatible"
...
This reverts commit 93ce024f58 .
2014-01-22 15:38:32 +07:00
Peter Taoussanis
93ce024f58
New compact byte representation, backwards-compatible
2014-01-22 15:38:22 +07:00
Peter Taoussanis
1d2daf206b
Clean up new DataInput/Output API
2014-01-22 15:01:12 +07:00
Peter Taoussanis
87fcd3a9c6
Generalise to allow serialising from/to any DataInput/DataOutput. (cmf)
2014-01-22 14:56:07 +07:00
Peter Taoussanis
b413adc62a
Make id defs easily IDE-collapsable
2014-01-22 14:56:07 +07:00
Peter Taoussanis
5690a9611e
Improve support for headerless freezing (docs, error msgs, etc.)
2014-01-22 14:01:27 +07:00
Peter Taoussanis
d8bbbbdb32
Add Fressian benchmark
2014-01-21 14:55:51 +07:00
Peter Taoussanis
42f45a0a06
Bench :fast before :encrypted
2014-01-21 14:55:50 +07:00
Peter Taoussanis
42950ec24a
Add stress-data-comparable, stress-data-benchable
2014-01-21 14:55:50 +07:00
Peter Taoussanis
7e1b1bb6b4
Deprecate :legacy-mode, add :skip-header? mode
2014-01-21 14:55:50 +07:00
Peter Taoussanis
32e4e82091
BREAKING: Clean up (experimental) Compressable-LZMA2
2014-01-21 12:56:36 +07:00
Peter Taoussanis
c11d4e36a8
hk
2014-01-21 12:47:46 +07:00
Peter Taoussanis
d112ecc395
Revert "Experimental: write-compact-int for _all_ int-like writing"
...
This reverts commit 93afb3820e .
2014-01-21 12:46:35 +07:00
Peter Taoussanis
93afb3820e
Experimental: write-compact-int for _all_ int-like writing
2014-01-21 12:46:23 +07:00
Peter Taoussanis
a5c2f39865
Revert "wip: experimenting with common number optimizations"
...
This reverts commit 307a265447 .
2014-01-20 15:12:18 +07:00
Peter Taoussanis
307a265447
wip: experimenting with common number optimizations
2014-01-20 14:44:32 +07:00
Peter Taoussanis
f8239531da
v2.5.2
2013-12-07 16:49:34 +07:00
Peter Taoussanis
5ea4af7356
Further work on freezer fallback reliability
2013-12-07 16:44:53 +07:00
Peter Taoussanis
3093eae322
Experimental: add freeze-fallback-as-str fn
2013-12-03 16:46:30 +07:00
Peter Taoussanis
43c85059d7
Throw on freeze (rather than thaw) when trying to freeze an unreadable object with pr-str
2013-12-03 16:22:52 +07:00
Peter Taoussanis
1a7812522c
Experimental: add inspect-ba util for inspecting possibly-frozen data
2013-12-03 16:22:51 +07:00
Peter Taoussanis
730b8774c4
Utils: housekeeping, update bench, memoized
2013-11-08 21:45:28 +07:00
Peter Taoussanis
0fd9275e37
Experimental compressable-lzma2: fix thaw bug
2013-11-07 12:47:36 +07:00
Peter Taoussanis
da1622f271
Experimental: add Compressable-LZMA2 type & (replaceable) de/serializer
2013-11-06 13:58:55 +07:00
Peter Taoussanis
7e7975910a
tools: fix thaw arg destructuring & opt merging
2013-11-05 22:41:51 +07:00
Peter Taoussanis
84e336fe65
Make byte transform on seqs 1-to-1, re-add ISeq as a fallback implementation
2013-10-31 13:29:34 +07:00
Peter Taoussanis
aa78ad6a0b
Rename test type: :coll->:lazy-seq
2013-10-31 13:16:26 +07:00
Peter Taoussanis
b1dab1dc4b
Add debug-mode flag
2013-10-31 13:15:22 +07:00
Peter Taoussanis
8f8ab99e95
Add some Serializable tests (exceptions)
2013-10-24 13:55:47 +07:00
Peter Taoussanis
9448d2b3ce
Add Java's Serializable as a pre-Reader fallback mechanism
2013-10-24 13:55:47 +07:00
Peter Taoussanis
c58bf97af7
Move Record test into stress data
2013-10-24 13:55:47 +07:00