Pudu programming language
Menu
API reference

Std.HashMap.Entry

1 declaration

type

Entry

This declaration introduces a public type.

What it does

One pairing, with the position it was first put in.

The position is kept beside the pairing rather than in a list of its own,

because a list would have to be searched and rewritten on every removal.

Carrying it here makes a removal cost what removing from one bucket costs,

and makes enumeration a sort of what the buckets already hold.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.HashMapSearch related declarations