Method in collections::map · HashMap coil-stdlib

HashMap::capacity

pub fn capacity() -> int
Import
use collections::map::{HashMap};
Source: src/collections/map.hy

Returns the number of buckets.

The map doubles it when it is half full.

Called on a HashMap value as value.capacity(…).

Returns#

int

See also#

↑ ↓ navigate ↵ open