Comments (5)
Is the proposed solution that the Immutable would hold a mutable object?
from seamless-immutable.
I am not sure about this. There could be so many cases where you want to store it as an immutable. Though in this case we don't need it to be immutable.
from seamless-immutable.
What I meant was - could there possibly be any other solution to the stated
problem besides leaving it as a mutable object?
On Thu, Oct 29, 2015, 4:19 AM Tushar Mathur [email protected]
wrote:
I am not sure about this. There could be so many cases where you want to
store it as an immutable. Though in this case we don't need it to be
immutable.—
Reply to this email directly or view it on GitHub
#72 (comment)
.
from seamless-immutable.
No. As per the above profiling it seems like the recursive conversion to Immutable takes a lot of time. I started facing this issue when I had a huge array of numbers that I wanted to plot on a graph.
How about doing it asynchronously?
from seamless-immutable.
If asynchronous is a solution, that can already be done; if you pass an immutable instance to Immutable
, it just uses the one it's given and doesn't recurse.
As a next step, I'd suggest trying that (just iterate over the object you're given and recurse asynchronously until you've built up what you need) and see if that solves the problem.
from seamless-immutable.
Related Issues (20)
- Make `without` support removing item from an array HOT 4
- how to use splice like array HOT 1
- Internet Explorer tests are failing HOT 4
- Issue regarding null values HOT 5
- Why are IE tests failing? HOT 3
- How to apply splice with seamless-immutable? HOT 1
- Merge does not work with class instances
- __immutable_invariants_hold is enumerable on Edge HOT 1
- Garbage collector features? HOT 1
- Performance characteristics
- Any difference with deepCopy? HOT 1
- [types] Mixin not applied to nested objects HOT 1
- flatMap not working HOT 2
- Add documentation for merge mode
- Files not being replaced on a deep merge
- Fails on IE 11 HOT 1
- TypeError: Object(...) is not a function HOT 1
- Lodash Vulnerability Problem
- Is the project still maintained? HOT 2
- immutable object causes rapid memory growth HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seamless-immutable.