question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Try new proxyequal

See original GitHub issue

Hey - I’ve just pushed some updated to the proxyequal, but did not update the package yet.

I need you first to test it, as only you could do.

Changes:

  • proxyObjectRest, proxyArrayRest (mostly for @ScriptedAlchemy) - they have to be separate commands 😦
  • WeakMap memoization for collectValuables possible after adopting more “immutable” approach for tracking changes.
  • I’ve reproduced your approach for collectValuables, proven to be the fastest, for proxyShallowEqual - it should be faster than proxyEqual from now 😃
  • some code was added to handle Object.values issue, which may make things not so performant (but I could try to memoize that moment to mitigate the problem)

All my tests for proxy-equal and libraries derived from it are green. Once you will report 💚 - it will go live.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
theKasheycommented, Apr 17, 2019

There are a few things we might improve here.

1reaction
MrWolfZcommented, Apr 11, 2019

@dai-shi for the forms benchmark try setting pnp to false inside its package.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

theKashey/proxyequal: There is a bit more smart way ... - GitHub
Shallow equal is a good thing, but it compares thing you don't need. Proxy equal - "MobX"-like solution, which will "magically" compare only...
Read more >
HostConfiguration (HttpClient 3.1 API)
Parameters: connection - the connection to test against; Returns: true if the connection's host ... public boolean proxyEquals(HttpConnection connection).
Read more >
Anton and I have been discussing quite a bit in terms of proxyequal ...
Anton and I have been discussing quite a bit in terms of proxyequal. ... Love podcasts or audiobooks? Learn on the go with...
Read more >
Dynamic Proxy Classes
So that a new proxy class does not need to be generated each time Proxy. ... should not just test if the class...
Read more >
org.apache.commons.httpclient.ProxyHost.getHostName java ...
@param connection the connection to test against * @return ... null) { throw new IllegalArgumentException("Connection may not be null"); } if (this.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found