You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I want to really optimize performance, I want to write a transformer on desc values. I will be using lzutf8 for this; So that I store in disk and in memory only compressed values. On each Underscorejs operation I would like to act on the decompressed value of key desc.
Apparently, Underscore operations do not act on generators directly, so my question is how to achieve this ?
edit: I believe all operations of Underscorejs are sequential, so why not support generators ? or am I missing something ?
The text was updated successfully, but these errors were encountered:
I consider this a duplicate of #2147 and will close the current issue for this reason. I will still answer your question on Stack Overflow, because I believe the answer could be useful to a wider audience. Please clarify what exactly you're trying to do first, though, by updating your SO question as I've asked here.
note: I port my question on stackoverflow here.
I have dozens of functions acting on arrays. See here for the sake of illustration.
As you can see I am using Underscorejs for most operations.
However I want to write a transformation on my main iteratee which is a list of JSON objects like the following:
As I want to really optimize performance, I want to write a transformer on
desc
values. I will be using lzutf8 for this; So that I store in disk and in memory only compressed values. On each Underscorejs operation I would like to act on the decompressed value of keydesc
.Apparently, Underscore operations do not act on generators directly, so my question is how to achieve this ?
edit: I believe all operations of Underscorejs are sequential, so why not support generators ? or am I missing something ?
The text was updated successfully, but these errors were encountered: