<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Performance penalty when changing attributes in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performance-penalty-when-changing-attributes/m-p/721381#M18507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your feedback. We'll take that into consideration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 15:49:34 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-03-23T15:49:34Z</dc:date>
    <item>
      <title>Performance penalty when changing attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performance-penalty-when-changing-attributes/m-p/721380#M18506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just noticed that when I change an attribute on a Graphic (or just set the value to the same value it was), the event DictionaryChangedEvent is raised from the ObservableDictionary. In the Graphic, the DataContext is reassigned, and it might cause flicker or updates. I have not observed problems like that, but I started to wonder if there might be any penalties and unnecessary rebinding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me that when the DictionaryChangedEvent is raised, the value should actually have changed. So if newValue and oldValue are equal (Comparer.Default.Compare(e.OldValue, e.NewValue) == 0) the event should not be triggered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a suggestion for a future release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 14:47:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performance-penalty-when-changing-attributes/m-p/721380#M18506</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2011-03-23T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance penalty when changing attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performance-penalty-when-changing-attributes/m-p/721381#M18507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your feedback. We'll take that into consideration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 15:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/performance-penalty-when-changing-attributes/m-p/721381#M18507</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-23T15:49:34Z</dc:date>
    </item>
  </channel>
</rss>

