module vrt.vacuum.hash

Code Map

module vrt.vacuum.hash;


//! Generate a hash. djb2 algorithm stolen from
//! http://www.cse.yorku.ca/~oz/hash.html
fn vrt_hash(ptr: void*, length: size_t) u32 { }
fn vrt_hash(ptr: void*, length: size_t) u32

Generate a hash. djb2 algorithm stolen from http://www.cse.yorku.ca/~oz/hash.html

This needs to correspond with the implementation in volt.util.string in the compiler.