Skip to content

WeakMap #7

Closed
Closed

Description

@probablycorey

In Atom we were using the flag --harmony_collections flag to use weakmaps. But that flag does not seem to be enabled in atom-shell.

Also, are the ecmascript weakmaps different than the IDWeakMap's?

Activity

  1. zcbenz commented on May 17, 2013

    @zcbenz
    Contributor

    ES6's WeakMap can only have weak keys, while the IDWeakMap in atom-shell can set weak values.

    I now added the app.commandLine.appendSwitch API to give Atom the ability to add the flags.

  2. added a commit that references this issue on May 17, 2013
    02e3f4c
  3. added a commit that references this issue on Oct 5, 2015
  4. added a commit that references this issue on Mar 15, 2016
  5. added a commit that references this issue on Sep 6, 2016
  6. added a commit that references this issue on May 1, 2018
  7. added 3 commits that reference this issue on Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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