Replies: 4 comments 15 replies
-
Awesome question. Some things are stored in linked lists and some are stored in arrays. But everything can be improved! I was always entertaining the idea of going back to data-oriented organization, i.e. instead of having an array of structs (say for the element), having several arrays of element ids, element types, connectivities, etc. Sorry for the generality of the answer but the question was also general? |
Beta Was this translation helpful? Give feedback.
-
Hey @vitorvas . Where are we on this subject? |
Beta Was this translation helpful? Give feedback.
-
Hello German,
Didn't touch it since your explanation.
Unfortunately, I have no plans at this time. Sorry.
Regards,
Vitor
Em sáb., 28 de dez. de 2024 às 11:22, jeremy theler <
***@***.***> escreveu:
… Hey @vitorvas <https://github.com/vitorvas> . Where are we on this
subject?
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFKFQX6KU55ONRUSRPXYBT2H2XYRAVCNFSM6AAAAABNIKHL56VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRYGUYDSMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Germán,
Sorry for the delay.
Well, the machine I was using to test it is gone. I had it replaced and I
do not even have a proper Linux on the new one. Actually, there are no
Linux options anymore to work with.
I will check if I still have access to the data on the old machine (if the
machine is still physically on the premises) Sorry about that.
Unfortunately, I work in a research center where the IT department works as
if we were an ordinary business. It is a nightmare.
I will let you know if I get it.
Regards,
Vitor
Em qua., 12 de mar. de 2025 às 12:19, jeremy theler <
***@***.***> escreveu:
… I was thinking that maybe replacing a list with a dynamic array or even
hash would speed things up.
Then I realized that I was appending to a list each time a new element
arrived, while I could directly prepend since I do not care about the order
in the list: b3b4312
<b3b4312>
Theoretically, that should change $O(n)$ into $O(1)$.
@vitorvas <https://github.com/vitorvas> can you run your test again and
see if that profile improves and that 79% goes down?
—
Reply to this email directly, view it on GitHub
<#22 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFKFQV6J2Z5N4KQJW7E2OL2UBGBBAVCNFSM6AAAAABNIKHL56VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBXGY2TOMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Germán,
Any reason to store mesh data in a linked list instead of an array?
Just wondering if feenox tampers too much with the mesh or if it is mostly kept untouched after data is read. (talking about a gmsh mesh here).
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions