ld be by no means a general benchmark of all arrays and lists, but it would give an idea of where List<T> and where T[] might be more appropriate.
Here is how you could set this up: on my PC, with 1'000'000 arrays/lists constructions and 50 inner loops on each, "arrays vs. list" has about 1:2 speed relationship, and "array vs. unknown length list" 1:9. You can test on your system and change the tests, too. If you do, remember to build in release mode and "Run without debugging".
- Giulio
____________________
giulio@mcneel.com
McNeel Europe, Barcelona…
've replaced them all with code (and been idiot I've deleted the old defs). Anyway with that thing you have a myriad of options (does "frames" as well) and 4 planar map modes (according to triad that you choose from the 4 subdivided surface "corners" available).
It's also rather easily doable with GH components - notify if it's a matter of life or death for you.
have fun, best, Peter…
0.5. Generate the initial sequence of points, then repeat step 1 until you have generated all of the points in your Voronoi diagram. Try this pavemnent marking dallas for best reviews. Once your diagram has been generated, run it through one final pass to calculate the area for each region around your starting point (this will give you a single number for each of those regions). If you need to adjust your starting point to generate more or fewer than 50 regions, you can adjust this number in step 4 below.…
Added by Andy Murray at 12:25am on November 14, 2022
nly has unique lines and remove all the other lines that overlap with LIST A (so I end up with 50 unique lines)
Is there a way to achieve this? Thank you very much!!…
them, say 50 tubes in a row of type1, then 50 tubes of type 2, and then I want to "blend" the junction, so that, for instance, the tubes might go:
1111111121122122122212222222222
I hope that explains it, I want a semi-random but progressive blend between them.
So I've been looking at sequences, and I think I can do it with some jitter and so on, but it seems onerous. Is there some easier approach that I'm missing (as is often the case)?
Maybe this is a case that is crying out for a script?
Thanks for any pointers.
Dave Johnson…
Added by Dave Johnson at 12:26pm on February 7, 2011
the pattern which is overlaid, just works a a certain zoom-level, a change in colour (maybe white) or transparency (50%) would work better...
2. then it would also be really cool, to be able to turn off certain parts of a definition, like an on/off button per component or so. sometimes that would really help, like when you would have to unplug 40 wires to change sth...
3. maybe tricky, but also cool: when you select multiple items, then right-click and change values for all of them (like preview, list-mode, flatten, name, ...)
4. the thing gabe meant with the align tool is basically: if you copy-paste an item, then that item comes pasted with an offset to the right and down, better would be if it just would be offsetted down, cos then you just can drag it away holding shift and it's aligned right away...
still angry sky, i'll go play with my definition,
p…
erything else is on hold.
2) Generating solution data. Creating BReps, performing boolean operations, computing closest points etc. is not trivial, might take a long time. As in meshing this only utilizes a single core.
3) Drawing preview geometry. This takes far too much time at present, we need to speed it up.
4) Drawing the grasshopper canvas. If you have a massive definition, the refresh rate might drop down to just a few frames per second. I'm working on optimizing this, but it's a slow process.
As Danny pointed out, 50% processor use most likely means one of your cores is maxed out. If you're low on physical memory, then Windows will start paging memory to the disk. If this happens, everything slows down to a crawl.
I don't understand what you mean by "GH processing". You cannot funnel computations through OGL, OGL is an SDK for hardware accelerated drawing. Grasshopper performs all computations on the CPU, not the GPU.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 2:52am on November 23, 2009