Skip to content

Potential memory usage improvement for y-js observe. #1

@kifhan

Description

@kifhan

While I fork your code, I notice that you set observe to every text file but don't unobserve them.
I'm not sure unobserve them is improve much of memory usage but I add unobserve code for fixing bug on my reply code.

fork of multihack-core

  • notice that I put it in the multihack-web for my convenience.
  • check the setObserver method
    RemoteManager.prototype.setObserver = function (filePath, targetstr) {...}

How do you think? Is going to change performance or not really effective.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions