• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

blake3パッケージ


RSS
Rev. Time Author
66da5af 2020-01-21 02:03:31 Samuel Neves

make things more modular

491f799 2020-01-21 02:03:31 Jack O'Connor

clarify the --no-mmap logic a bit

273a679 2020-01-21 01:58:07 Cesar Eduardo Barros

b3sum: add no-mmap option

Using mmap is not always the best option. For instance, if the file is
truncated while being read, b3sum will receive a SIGBUS and abort.

Follow ripgrep's lead and add a --no-mmap option to disable mmap. This
can also help benchmark the mmap versus the read path, and help debug
performance issues potentially caused by mmap access patterns (like
issue #32).

b8c33e1 2020-01-20 03:45:37 Samuel Neves

manually prefetch message blocks

a3147eb 2020-01-19 04:32:52 Jack O'Connor

comment about parallelism

14cd5c5 2020-01-18 03:58:55 Jack O'Connor

version 0.1.2

Changes since 0.1.1:
- b3sum no longer mmaps files smaller than 16 KiB. This improves
performance for hashing many small files. Contributed by @xzfc.
- b3sum now supports --raw output. Contributed by @phayes.

7ee89fe 2020-01-18 03:54:58 Jack O'Connor

update b3sum help text in README.md

e2ce076 2020-01-18 03:36:09 Jack O'Connor

edit the --raw help string

2db9f2d 2020-01-18 03:29:39 Jack O'Connor


Merge pull request #22 from phayes/raw_output

Adds support for raw output to b3sum

f26880e 2020-01-18 02:58:32 Albert Safin

b3sum: do not mmap files smaller than 16 KiB

28701d1 2020-01-17 08:29:20 Jack O'Connor

add a README.md in c/blake3_c_rust_bindings

84c2667 2020-01-17 06:09:42 Jack O'Connor

add blake3_c_rust_bindings for testing and benchmarking

33a9bee 2020-01-16 00:46:47 Jack O'Connor

update the b3sum README

e60934a 2020-01-16 00:41:06 Jack O'Connor

more consistent use of Self in the reference impl

aec1d88 2020-01-15 07:35:18 phayes

Using take() to limit the number of bytes copies

c8c442a 2020-01-15 05:22:22 Jack O'Connor

add comments to the reference impl

a02b4cb 2020-01-14 07:56:06 phayes

bailing early if we have both --raw and multiple files

0e8734b 2020-01-14 07:48:24 phayes

Making sure our raw multi-file test is testing what we think it is

5cb01ad 2020-01-14 07:43:09 phayes

Using stdout_capture for capturing stdout that is not a string

2bd7614 2020-01-14 07:40:30 phayes

Fixing stdout locking

ec1233b 2020-01-14 07:36:28 phayes

Locking stdout for writing in a tight loop.

8d251af 2020-01-14 06:12:47 phayes

Adds support for raw output to b3sum

02250a7 2020-01-14 04:47:28 Jack O'Connor

version 0.1.1

Changes since 0.1.0:
- Optimizations contributed by @cesarb.
- Fix the build on x86_64-pc-windows-gnu when c_avx512 is enabled.
- Add an explicit error message for compilers that don't support c_avx512.

caa6622 2020-01-14 04:34:27 Jack O'Connor

explicitly check for -mavx512f or /arch:AVX512 support

If AVX-512 is enabled, and the local C compiler doesn't support it, the
build is going to fail. However, if we check for this explicitly, we can
give a better error message.

Fixes https://github.com/BLAKE3-team/BLAKE3/issues/6.

b9b1d48 2020-01-14 03:34:06 Jack O'Connor

avoid using MSVC-style flags with the GNU toolchain on Windows

5c7004c 2020-01-14 03:21:06 Jack O'Connor

a bit of README formatting

de3ff01 2020-01-14 02:09:43 Jack O'Connor

mention the default output size in the README

3ec157a 2020-01-14 02:09:43 Jack O'Connor

add a CI badge

9f509a8 2020-01-13 08:27:42 Cesar Eduardo Barros

Inline trivial functions

For the Read and Write traits, this also allows the compiler to see that
the return value is always Ok, allowing it to remove the Err case from
the caller as dead code.

4690c5f 2020-01-13 07:40:57 Cesar Eduardo Barros

Use fixed-size constant_time_eq

The generic constant_time_eq has several branches on the slice length,
which are not necessary when the slice length is known. However, the
optimizer is not allowed to look into the core of constant_time_eq, so
these branches cannot be elided.

Use instead a fixed-size variant of constant_time_eq, which has no
branches since the length is known.