mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Add explanatory comment for mysterious argument
This commit is contained in:
@@ -198,6 +198,7 @@ unsigned long long fnv1a(std::string const &s) {
|
|||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The "additional" is to make it easier to hash a serial_val attribute value and type together
|
||||||
unsigned long long fnv1a(const char *s, char additional) {
|
unsigned long long fnv1a(const char *s, char additional) {
|
||||||
// http://www.isthe.com/chongo/tech/comp/fnv/
|
// http://www.isthe.com/chongo/tech/comp/fnv/
|
||||||
const unsigned long long fnv_offset_basis = 14695981039346656037u;
|
const unsigned long long fnv_offset_basis = 14695981039346656037u;
|
||||||
|
|||||||
Reference in New Issue
Block a user