Improve implementation of computeFrames
See original GitHub issueextendDeepNoArrays
was a simple way to prevent the frame logic from doing a deep extend on data arrays. The assumption was array attributes were a negligible concern. Transforms are a notable exception and should be deep-extended when computing frames. That can be handled with a special case. If this seems like a common situation though, then the attributes should be extended with proper knowledge of the plot schema.
@monfera, I know you’ve dealt with very similar issues when implementing transforms. Is merging attributes with knowledge of the plot schema a problem you’ve already solved elsewhere?
cc: @etpinard
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
JSR/RET are not supported with computeFrames option #3268
[REQUIRED] Step 2: Describe your environment ... plugins { id 'com.android.application' id 'kotlin-android' id 'com.google.gms.google-services' id ...
Read more >error : JSR/RET are not supported with computeFrames option
i am facing this error Execution failed for task app:transformClassesWithInstantRunForDebug'.JSR/RET are not supported with computeFrames option.
Read more >Enhancing Software Development Techniques via Copy ...
codebases improves developers' interaction with the current codebase, likely future codebases, ... implementation of Codebase Analysis for the Eclipse IDE.
Read more >Advice (Byte Buddy (without dependencies) 1.10.2 API)
Enhance public class Advice extends Object implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper, Implementation.
Read more >Process to compute frames of reference in EFAR-MMLA.
This paper further explores modelling pipelines with different configurations to improve the generalizability of the model. We collected 11 multimodal datasets ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(which, to be clear, is just
extendDeep
once you strip out the snarkiness 😄 )Correct! Goal: avoid deep merges of data arrays but permit deep merges of things like arrays of transforms.
And thanks for the additional thoughts! As a result and before going farther, I’m going to turn my
extendDeepNoArrays
into anextendDeepSureWhyNotArraysToo
and check the performance. There’s a good chance that this extend deep, though unsatisfyingly inefficient, will not be a limiting factor until long after the number of data points has pushed SVG rendering behind 16ms/frame.A general principle I’ve been aiming for is to avoid adding any additional iteration through the full data, but if we need to handle webgl much more carefully, then it’s probably poorly-done premature optimization anyway to avoid this.
I don’t know the answer yet, but thanks for bringing up these concerns!