Commit Graph

59 Commits

Author SHA1 Message Date
Yann Collet
55be05e5c8 added compilation flag XXH_NO_XXH3
which removes generation of XXH3 symbols from library
resulting in smaller binary size.
2021-04-18 09:06:20 -07:00
Jan
a9054f397d
Small improvements (#515)
* fix typo in README.md

* fix typo in code comment

* remove superfluous space chars at end of output strings

* partially revert changes
2021-03-17 09:51:40 -07:00
Yann Collet
a37613edfe removed master branch badge
no longer used
2020-11-12 20:40:25 -08:00
Yann Collet
c6eb821073 added repology status 2020-09-28 09:21:51 -07:00
Yann Collet
b2a1eba413 added SHA1 results 2020-08-02 03:19:21 -07:00
Yann Collet
95014352ca added MD5 benchmark results 2020-08-02 02:57:25 -07:00
Yann Collet
50d5774bcf removed highwayhash from benchmark summary
the summary is merely there to provide some rough guideline
providing comparative performance figures from well known hash algorithms.

highway was just added to please a 3rd party request,
but results are contested by another 3rd party,
this kind of debate is outside the scope of xxhash repository
which merely aims at presenting xxhash in context.

On the other hand, maybe I should consider adding some very well known algorithms
such as md5 or sha1 which are used very often in multiple contexts
in order to provide perspective.
2020-08-02 02:05:57 -07:00
Yann Collet
69b894eade fix minor formatting issues
especially in the "Thanks" section
2020-07-27 14:29:39 -07:00
Yann Collet
c4792b6746 updated benchmark results on README.md
with newest measurements featuring XXH3 on recent systems
2020-07-27 14:23:23 -07:00
Yann Collet
37d484267a name instruction set in travisCI tests 2020-06-11 21:29:15 -07:00
Yann Collet
8debcdc6f1 added documentation about DISPATCH environment variable 2020-06-11 00:26:38 -07:00
Yann Collet
f99ef4fd62 added environment variable DISPATCH 2020-06-11 00:13:06 -07:00
Yann Collet
125710950d fix avx512 dispatch 2020-06-11 00:01:39 -07:00
Yann Collet
37a68f29df remove alignment check on aarch64
as this architecture offers decent performance for unaligned memory accesses (like x86/x64).

This circumvent the problem described in #383,
as the direct read path using `const xxh_u32*` will not be generated by default.

Note however that this does not go at the root of the problem,
which is a possibility of strict-aliasing issue
when using the direct read path _and_ inlining xxh32.
This issue however is more difficult to solve without a reproduction case.

I also used this opportunity to fix or reinforce documentation.
2020-06-04 00:05:24 -07:00
Yann Collet
ceed8a7153
simplified XXH_PREFETCH_DIST logic (#375)
still distinguishes :
- __clang__ : 320
- AVX512 : 512
- the rest : 384
2020-05-27 15:00:40 -07:00
Yann Collet
dca6be339b bless xxh3 format as release candidate 2020-03-05 22:37:57 -08:00
Yann Collet
ff5df558b7 changed xxhash.com links to https 2020-03-04 18:36:13 -08:00
easyaspi314 (Devin)
87e7d8b999 More typos, add some more documentation
- Remove most remaining spaces before punctuation
 - Fix a few missed copyright messages
 - Document the timer resolution workaround
 - Document XXH_mult32to64
   - I compiled GCC 3.2 and 4.2 just to test this, both are affected.
   - Make sure we downcast for __emulu
 - Other minor fixes
2020-03-03 12:10:19 -05:00
Yann Collet
a6c1ff95d9 updated a few links to https 2020-03-02 14:26:49 -08:00
easyaspi314 (Devin)
9eb91a3b53 Let the Great Typo Hunt commence!
Work in progress.

 - Fix many spelling/grammar issues, primarily in comments
 - Remove most spaces before punctuation
 - Update XXH3 comment
 - Wrap most comments to 80 columns
 - Unify most comments to use the same style
 - Use hexadecimal in the xxhash spec
 - Update help messages to better match POSIX/GNU conventions
 - Use HTML escapes in README.md to avoid UTF-8
 - Mark outdated benchmark/scores
2020-03-02 15:20:49 -05:00
Yann Collet
645975d8ba fixed minor typos 2020-03-01 18:42:42 -08:00
Yann Collet
6ce6105837 updated doc 2020-03-01 14:02:34 -08:00
easyaspi314 (Devin)
777ec6529a Implement alternative byteshift load
XXH_FORCE_MEMORY_ACCESS==3 will use a byteshift operation. This is
preferred on older compilers which don't inline `memcpy()` or some
big-endian systems without a native byteswap.

Also fix a small typo.
2020-02-21 10:01:04 -05:00
easyaspi314 (Devin)
b8dfa44bbc Implement XXH_NO_INLINE_HINTS to disable forced inlining.
This marks all internal functions as `static`, and gives the compiler
full control over whether to inline functions or not.

This is automatically defined on GCC and Clang when `-O0`, `-Os`, `-Oz`,
or `-fno-inline` is used.

With clang -Oz for AArch64, the .text section goes from 16880 bytes to
8136 bytes.
2020-02-11 11:55:17 -05:00
wangli28
e1f86b3c63 Add vcpkg installation instructions 2020-01-16 08:08:30 +00:00
wangli28
1012b7bba9 Add vcpkg installation instructions 2020-01-16 07:07:10 +00:00
Yann Collet
eab46160a9 update examples and comment 2019-09-28 17:39:00 -07:00
Nigel Tao
879d0af51a Add comment about CRC32 speed comparison 2019-09-15 10:40:17 +10:00
Yann Collet
10904c1277 added XXH_REROLL consistency test
to catch issues such as #240.
Also added XXH64 test for len==4
2019-08-10 11:44:30 +02:00
Yann Collet
a8bc574665 updated doc
and graphs.
2019-07-26 12:28:28 -07:00
Yann Collet
42de47b0b5 updated documentation
try to insist on the importance of inlining.
2019-07-26 12:00:13 -07:00
Yann Collet
a1179e2fb6 added doc 2019-07-03 16:11:51 -07:00
LambdAurora
a728fc9fe8
Changed condition of dllimport definition for a better behavior. 2019-03-16 17:45:49 +01:00
Yann Collet
5674c6dcdd update README to present XXH3 2019-03-15 09:30:42 -07:00
Yann Collet
b31ca8c40f removed XXH_FORCE_NATIVE_FORMAT 2019-03-15 09:10:54 -07:00
ArnaudBienner
aa76d203ca
Add syntax coloring to README.md examples 2018-08-20 17:19:16 +02:00
Yann Collet
d88fe9010d README: minor update
link to article
2018-03-14 23:54:51 -07:00
Yann Collet
1c88120068 minor readme correction 2018-03-13 17:38:25 -07:00
Yann Collet
9231e6d8ed added build macro XXH_INLINE_ALL
same as XXH_PRIVATE_API
but insists on the performance improvement side.

also : bumped version number to v0.6.5
2018-03-13 15:52:21 -07:00
Soojin Nam
c9c076c75b fix a trivial typo 2017-12-26 10:57:24 +09:00
Yann Collet
ffb2d37adb XXH_ACCEPT_NULL_INPUT_POINTER can be defined externally
typically using -DXXH_ACCEPT_NULL_INPUT_POINTER=1 at compilation time
2017-10-09 12:14:09 -07:00
Yann Collet
de057fabff update README to add code example
also refactor build modifiers section
2017-09-21 11:19:12 -07:00
Yann Collet
fdff50dfb9 fixed minor formatting issue in README
Link to Mathias profile
2017-09-08 00:35:12 -07:00
Yann Collet
eb1aa07a90 added : XXH_NO_LONG_LONG mode, removing XXH64() for platforms without 64-bits support (ex: strict C90).
added : C90 pedantic test
2016-08-11 19:41:20 +02:00
Yann Collet
cecc078eb8 readme note on result reproducibility 2016-08-10 23:47:22 +02:00
Yann Collet
374555d1eb Update README.md 2016-06-02 10:55:53 +02:00
Yann Collet
69b3daeb01 Update README.md 2016-06-02 10:54:32 +02:00
Yann Collet
6d1954f64b update hyperlink 2016-01-04 11:55:22 +01:00
Yann Collet
f79f01d820 updated hyperlinks 2016-01-04 11:53:34 +01:00
Yann Collet
608364fa89 Updated xxHash homepage 2015-10-01 12:57:45 +01:00