Descrizione

This factory method creates a new hash from a definition in a string. The
format is the same as the one used in "loadFromFile".

Elenco dei parametri

contents

The string containing a serialized format of the hash.

size

The amount of bucket lists to configure. The number you pass in will be
automatically rounded up to the next power of two. It is also
automatically limited from 4 to 4194304.

options

The same options that the class' constructor takes; except that the size
option is ignored. It is automatically calculated to be the same as the
number of entries in the hash, rounded up to the nearest power of two
with a maximum limit of 4194304.