|
|
9596419833
|
remove seperate bitskip trait
|
2020-01-07 22:58:07 +01:00 |
|
|
|
a6e9b59ece
|
derive unchecked methods for traits
|
2020-01-07 22:38:28 +01:00 |
|
|
|
55eb866eb6
|
add unchecked reading to BitRead and BitReadSized
|
2020-01-07 22:31:29 +01:00 |
|
|
|
28b1d15bff
|
remove seperate BitSize traits
|
2020-01-07 21:59:05 +01:00 |
|
|
|
4785f80cce
|
struct bench
|
2020-01-07 20:30:49 +01:00 |
|
|
|
92d23dc14f
|
unchecked api
|
2020-01-07 19:19:01 +01:00 |
|
|
|
ce93ded2f2
|
enable alligned string optimization
|
2020-01-06 19:15:06 +01:00 |
|
|
|
7250ce3ae8
|
remove bounds check using unsafe
|
2020-01-06 18:53:12 +01:00 |
|
|
|
ccc48f1bdb
|
pad the buffer to simplify read logic
|
2020-01-06 18:44:25 +01:00 |
|
|
|
7290481a73
|
safe
|
2019-12-25 23:59:43 +01:00 |
|
|
|
c28c83d5f4
|
cleanup
|
2019-12-25 23:30:49 +01:00 |
|
|
|
01a8edd782
|
read unaligned bytes optimization
|
2019-12-25 23:18:35 +01:00 |
|
|
|
862c6fb3b5
|
remove unneeded clone
|
2019-12-25 23:11:07 +01:00 |
|
|
|
85abe2d9e8
|
use memchr for alligned string reads
|
2019-12-25 23:10:54 +01:00 |
|
|
|
4a888e685c
|
optimize unaligned string reads
|
2019-12-25 23:08:39 +01:00 |
|
|
|
8147ae1988
|
dont read unalligned usize
|
2019-12-25 15:38:14 +01:00 |
|
|
|
5b89a5940d
|
less panicy read_bool
|
2019-12-25 14:27:29 +01:00 |
|
|
|
34411a7c80
|
use macro for tuple implementations
|
2019-10-13 11:25:49 +02:00 |
|
|
|
8f5fdb41d2
|
some tuple implementations for bitread
|
2019-10-11 21:52:02 +02:00 |
|
|
|
d074779203
|
more efficient LazyBitRead
|
2019-10-11 21:42:38 +02:00 |
|
|
|
cfb4f37fc0
|
dont store bit_len seperatly for stream
|
2019-10-11 20:48:01 +02:00 |
|
|
|
ddada03f34
|
impl BitRead for Box
|
2019-10-11 20:26:00 +02:00 |
|
|
|
296b2e1092
|
optimizte reading alligned unsized strings
|
2019-09-22 16:26:10 +02:00 |
|
|
|
c85d4e4fa6
|
add bench for read_bytes
|
2019-09-20 22:07:57 +02:00 |
|
|
|
8e1c901985
|
make more functions inlinable
this has a noticable performance improvments since a lot of conditionals can be determined compile time when inlined
|
2019-08-31 15:38:16 +02:00 |
|
|
|
f20b7fa1b3
|
re-add the unsafe implementation behind a feature flag
|
2019-08-31 15:07:15 +02:00 |
|
|
|
e1079a412b
|
minor cleanup
|
2019-08-31 14:29:00 +02:00 |
|
|
|
2fd2b49810
|
fix 2's-completement encoding for non full with signed ints
|
2019-08-28 02:44:35 +02:00 |
|
|
|
5856dd3ade
|
add BitRead implementations for Rc/Arc
|
2019-08-26 20:18:11 +02:00 |
|
|
|
c3709e57d8
|
fix signed reading
|
2019-08-26 20:17:59 +02:00 |
|
|
|
a3aa275a87
|
forbid unsafe code
|
2019-07-27 18:34:43 +02:00 |
|
|
|
541c467510
|
switch to a fully safe implementation
this costs about ~15% compared to the unsafe one but should still be fast enough to not be the bottleneck in most use cases
|
2019-07-27 18:32:08 +02:00 |
|
|
|
af93d0917e
|
dont store byte_len separatly
bit_len actually makes a performance difference
|
2019-07-24 12:53:45 +02:00 |
|
|
|
211de49a54
|
dont save pointer to data
this doesn't actually make a performance difference
|
2019-07-24 12:32:18 +02:00 |
|
|
|
76bd8f6bb1
|
remove usafe code from read_bool
safe version is a bit faster than the unsafe version even
|
2019-07-24 12:24:15 +02:00 |
|
|
|
613199c089
|
remove unchecked_utf8 and read_in_unchecked
|
2019-07-24 12:16:40 +02:00 |
|
|
|
00e4efec86
|
'assert' check bounds when reading, fix issue with missing null termination for strings
|
2019-07-22 18:37:38 +02:00 |
|
|
|
2ab425356e
|
remove unused use
|
2019-05-25 23:48:40 +02:00 |
|
|
|
14c632c939
|
still advance the stream on utf8 errors
this allows the caller to handle the error and continue reading
|
2019-05-25 23:46:01 +02:00 |
|
|
|
51cfcb42de
|
add unchecked version for read_int
|
2019-05-01 19:45:28 +02:00 |
|
|
|
7030fffe58
|
remove simd feature
it barely made any difference
|
2019-04-27 16:24:35 +02:00 |
|
|
|
4b95909042
|
mark Endianness trait as sealed
|
2019-04-09 20:09:55 +02:00 |
|
|
|
71823f22ec
|
read for NoZero ints
|
2019-04-09 20:00:11 +02:00 |
|
|
|
b723dee23b
|
add trait for skipping types
|
2019-03-17 18:44:14 +01:00 |
|
|
|
7b222158f1
|
rename skip to skipbits
|
2019-03-17 15:56:42 +01:00 |
|
|
|
3c1081be9a
|
experimental simd dynamic string reading
|
2019-03-16 22:06:39 +01:00 |
|
|
|
da62bb9e9d
|
optimize byte_read for aligned reads
|
2019-03-16 16:52:44 +01:00 |
|
|
|
52f830bf7f
|
store pointer separately
|
2019-03-16 16:40:32 +01:00 |
|
|
|
031979673e
|
minor dynamic length string performance improvement
|
2019-03-16 14:56:38 +01:00 |
|
|
|
18cd799a9b
|
remove unneeded extra bounds check when reading boolean
|
2019-03-16 13:49:33 +01:00 |
|