Jump to content

In place in/out element


Recommended Posts

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.

Link to comment
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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.