export function generateNaiveHash(str) {
    let hash = 0;
    if (!str)
        return hash;
    for (const char of str) {
        hash = (hash << 5) - hash + char.charCodeAt(0);
        hash |= 0;
    }
    return hash;
}
//# sourceMappingURL=hash.js.map