GregFreeman Posted March 24, 2014 Report Share Posted March 24, 2014 Just curious, is there any fundamental difference between using the in/out element in an in place element structure versus just using the generic node you get when crossing boundaries (I just realized I don't know if there is an official name for this node). Quote Link to comment
crossrulz Posted March 24, 2014 Report Share Posted March 24, 2014 Anymore, I doubt it. When the In Place Element Structure was first made, it would tell the compiler to do things in place (no data copies). I believe the compiler has gotten a lot smarter since, so there likely isn't any difference anymore. Quote Link to comment
GregFreeman Posted March 24, 2014 Author Report Share Posted March 24, 2014 This was the assumption I made as well. Quote Link to comment
shoneill Posted March 24, 2014 Report Share Posted March 24, 2014 Careful. I've had cases where I want my code to be portable and have had serious issues with "smart" compilers on Real-Time systems. I ended going back and putting in a load of IPEs to get my performance back. Not all of NIs compilers for different targets are created equal. Just because it works like a dream on one target, doesn't mean it'll do the same on all. Quote Link to comment
ThomasGutzler Posted March 24, 2014 Report Share Posted March 24, 2014 Speaking of in place structures, is there much point cascading them (top) or is all data inside an in place structure automatically acted upon in place (bottom)? Quote Link to comment
Darin Posted March 24, 2014 Report Share Posted March 24, 2014 Speaking of in place structures, is there much point cascading them (top) or is all data inside an in place structure automatically acted upon in place (bottom)? As drawn, there is not much point of doing the upper version. No need to do a meaningless index operation and incur the small but measurable performance hit of the IPES to do a simple replace. If I am actually going to perform an index+do something+replace operation then I prefer the IPES. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.