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
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
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
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
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
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
41d3dcd467
*default-freeze-compressor-selector* should be public
2015-09-17 11:11:06 +07:00
Peter Taoussanis
a3847a4818
Misc housekeeping
2015-09-17 11:11:06 +07:00
Peter Taoussanis
e403c17417
Housekeeping for 0a35b8c
2015-09-17 11:11:06 +07:00
Karsten Schmidt
3f9fe327e0
[ #70 ] move small? check outside write-bytes macro body, replace if-not's w/ if's (@postspectacular)
2015-09-17 11:11:06 +07:00
Peter Taoussanis
56b33e23f0
Perf: fix boxed math on long compression
2015-09-14 20:12:11 +07:00
Peter Taoussanis
da671cbba4
Housekeeping
2015-09-14 17:08:23 +07:00
Peter Taoussanis
6b4e1341ee
Realign type ids
2015-09-14 17:08:23 +07:00
Peter Taoussanis
11545690c8
NB switch to encore edn reader/writer
2015-09-14 17:08:23 +07:00
Peter Taoussanis
e5ccd25848
Fix custom-readers var declaration
2015-09-14 17:08:23 +07:00
Peter Taoussanis
5a623870fe
Warn about thaw-id reset at runtime rather than expansion time
2015-09-14 17:08:23 +07:00
Peter Taoussanis
82294f54f9
Switch to dynamic custom-readers
2015-09-14 17:08:23 +07:00
Peter Taoussanis
a005a9d7fa
Switch to dynamic default-freeze-compressor-selector
2015-09-14 17:08:23 +07:00
Peter Taoussanis
2b19f8eab5
Refactor reading of possibly-unthawable types
2015-05-29 14:20:14 +07:00
Peter Taoussanis
53714cc192
More robust record deserialization
2015-05-29 14:13:35 +07:00
Peter Taoussanis
7753eefd2e
Switch to encore v1.28.0, doseq->backport-run! (better perf)
2015-05-06 17:37:12 +07:00
Peter Taoussanis
d5fea13bfb
Misc housekeeping
2015-04-29 11:47:39 +07:00
Peter Taoussanis
89e709d5db
Boxed math optimizations
2015-04-18 14:13:29 +07:00
Peter Taoussanis
0e691cbbcf
Experimental optimization: allow smart, automatic compressor selection
2015-04-18 14:13:29 +07:00
Peter Taoussanis
e991ec7899
Add encore version check
2015-02-18 17:33:37 +07:00
Peter Taoussanis
df1d83275d
[ #63 ] Fix missing thaw exception cause (@cespare)
2015-02-18 17:33:37 +07:00
Peter Taoussanis
26c01c799a
Add option to disable v1 thaw compatibility
2014-11-27 17:19:02 +07:00
Peter Taoussanis
e142063201
[ #54 ] Fix bad v1 data thaw call (@jafingerhut)
2014-11-10 11:17:28 +07:00
kul
e006fbcbb0
Expose exception to user as :throwable (@kul)
2014-11-04 12:33:19 +07:00
Peter Taoussanis
152fec95e0
Fix ex-info call args (@kul)
2014-11-04 12:31:41 +07:00
Peter Taoussanis
4d1a374c8f
Typehint typo
2014-11-04 12:31:41 +07:00
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
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