Skip to content

docs for keys.available? (not enough IDs!) #272

@dckc

Description

@dckc

I got # Exception: Object.prototype.hasOwnProperty: not enough IDs! while working on Agoric/Swingset stuff. Based on grepping the xs source code, I figured out that this makes the symptoms go away:

  "creation": {
    "keys": {
      "available": 256

This keys.available stuff is mentioned in https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/tools/manifest.md#creation but without explanation. The default in the examples seems to be 32. 32 what? What are the units? And in what circumstances is this resource consumed?

Likewise docs for keyCount in
https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/xs/XS%20in%20C.md#machine-allocation . Please elaborate a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions