The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Vote to Remove Enum.IsDefined From All System.Drawing Members

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Frank Hileman

Posts: 95
Nickname: frankhil
Registered: May, 2004

Frank Hileman is the lead developer for VG.net, a fast vector graphics system for .net developers.
Vote to Remove Enum.IsDefined From All System.Drawing Members Posted: Nov 11, 2004 7:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Frank Hileman.
Original Post: Vote to Remove Enum.IsDefined From All System.Drawing Members
Feed Title: Frank Hileman's Blog
Feed URL: http://weblogs.asp.net/frank_hileman/rss?containerid=13
Feed Description: Vector Graphics with VG.net, MyXaml, and Visual Studio Integration
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Frank Hileman
Latest Posts From Frank Hileman's Blog

Advertisement

Enum.IsDefined is an expensive call taking a significant amount of time, and boxing (allocating memory) on every call. There are numerous System.Drawing property setters that call Enum.IsDefined. Officially, Enum.IsDefined is recognized by MS as a problem and now its usage violates official .NET Framework Design Guidelines.

Speed up VG.net and other graphical applications, and reduce heap usage, by voting for this relatively minor change:

Remove Enum.IsDefined calls from all System.Drawing members

Read: Vote to Remove Enum.IsDefined From All System.Drawing Members

Topic: Web services contract-first: Thoughts - Part 3.2 Previous Topic   Next Topic Topic: Simple math with regular expressions?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use