aboutsummaryrefslogtreecommitdiff
path: root/devel/cityhash
Commit message (Collapse)AuthorAgeFilesLines
* - Switch to USES=libtool, drop .la filesDmitry Marakasov2014-06-252-1/+3
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=359265
* Up to 1.1.1:Veniamin Gvozdikov2014-05-022-3/+3
| | | | | | | | | | | | | | | * Fix CityHash32() so platforms that disagree about whether 'char' is signed use the same mathematical function. For most people this changes nothing as most popular platforms agree with x86 about whether 'char' is signed. * No changes to any of the functions, unless you had been using CityHash32() despite "make check" reporting a failure on your platform. * Slightly modernize and improve configuration and portability. Submitted by: myself Notes: svn path=/head/; revision=352835
* - Remove NO_STAGE as these have been tested to be safeBryan Drewery2013-09-251-1/+0
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=328226
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | devel part 1) Notes: svn path=/head/; revision=327722
* - Changed my emailVeniamin Gvozdikov2013-07-221-2/+2
| | | | | | | | | - Trim Makefile headers and positions name and surname within Approved by: eadler, rm (mentors) Notes: svn path=/head/; revision=323455
* CityHash provides hash functions for strings. The functions mix theMartin Wilke2013-02-105-0/+67
input bits thoroughly but are not suitable for cryptography. See "Hash Quality," below, for details on how CityHash was tested and so on. Functions by CityHash: - CityHash32() returns a 32-bit hash. - CityHash64() and similar return a 64-bit hash. - CityHash128() and similar return a 128-bit hash and are tuned for strings of at least a few hundred bytes. Depending on your compiler and hardware, it's likely faster than CityHash64() on sufficiently long strings. It's slower than necessary on shorter strings, but we expect that case to be relatively unimportant. - CityHashCrc128() and similar are variants of CityHash128() that depend on _mm_crc32_u64(), an intrinsic that compiles to a CRC32 instruction on some CPUs. However, none of the functions we provide are CRCs. - CityHashCrc256() is a variant of CityHashCrc128() that also depends on _mm_crc32_u64(). It returns a 256-bit hash. All members of the CityHash family were designed with heavy reliance on previous work by Austin Appleby, Bob Jenkins, and others. For example, CityHash32 has many similarities with Murmur3a. WWW: http://code.google.com/p/cityhash/ PR: ports/174793 Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com> Notes: svn path=/head/; revision=312029