For each defined attribute of the control class it must check if its
current value is different than the default value then sabe the new value.
Eventos if there are only a few attributes set for an element it must check
all attributes.

  IupCopyClassAttributes was designed to be used when the element needs to
be unmapped and remapped again, so its native attribute values can be saved.

Best,
Scuri
Em 03/02/2016 16:15, "Ranier VF" <[email protected]> escreveu:

> Hi,
> I have run my app/iup with Profiler and observed that function
> void IupCopyClassAttributes(Ihandle* src_ih, Ihandle* dst_ih)
> can be very expensive:
> Samples: 2034.30s, calls: 98,59%.
> Reading over, I have the following question?
>
> Why is so far memcpy?
> Perhaps is not simple copy, but why copy attributtes can be
> too expensive?
>
> Best regards,
>
> Ranier Vilela
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to