Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problematic Curvy API
#5
1. Oh my! That's an interesting developer story. That's for sharing it with me. As users of this great tool (I'm a beginner to Curvy) we are lucky you continued its development. Thank you!

2. Yes the enumerator is an allocation but in your version, there is the extra array creation so it counts as an allocation too. I suspect that Concat version should be less expensive (just a little bit) but we can't know without proper testing. It's not a big deal anyways. I just wanted to share how I would avoid resizing arrays. Thanks for the consideration.

3. AddRange creates 1 array (while resizing) if I'm not mistaken.

4. When VS introduced this feature for the first time, I immediately disabled it. Really don't like the idea. After some time, I wanted to give it a chance and I started to like it. Then this AddRange incident happened. Actually IndexOf happened first but I didn't even notice it until AddRange incident. Now I'm considering disabling it again Sad

Thank you for everything, especially for the friendly chat!
Reply


Messages In This Thread
Problematic Curvy API - by XtroTheArctic - 09-18-2023, 12:07 AM
RE: Problematic Curvy API - by _Aka_ - 09-18-2023, 10:19 AM
RE: Problematic Curvy API - by XtroTheArctic - 09-19-2023, 05:43 PM
RE: Problematic Curvy API - by _Aka_ - 09-20-2023, 09:29 AM
RE: Problematic Curvy API - by SAMYTHEBIGJUICY - 10-14-2023, 12:39 AM
RE: Problematic Curvy API - by SomeGuyEight - 10-14-2023, 04:48 PM
RE: Problematic Curvy API - by XtroTheArctic - 09-20-2023, 03:25 PM
RE: Problematic Curvy API - by _Aka_ - 09-21-2023, 08:40 AM
RE: Problematic Curvy API - by _Aka_ - 10-16-2023, 08:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 12 04-03-2024, 03:16 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: