Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

djb2Hash

function djb2Hash(str): number;

Defined in: packages/engine/src/utilities/Hash.ts:13

djb2 string hash, fast, simple, good distribution. Used for O(1) line text change detection in DocumentModel.

ParameterType
strstring

number