[mapguide-trac] #508: Remove string members in render styles

MapGuide Open Source trac_mapguide at osgeo.org
Wed Mar 19 17:00:19 EDT 2008


#508: Remove string members in render styles
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:  waltweltonlair
       Type:  task            |      Status:  new           
   Priority:  medium          |   Milestone:  2.1           
  Component:  General         |     Version:  2.0.0         
   Severity:  minor           |    Keywords:                
External_id:                  |  
------------------------------+---------------------------------------------
 The SE_RenderStyle derived structs contain a number of string members
 (e.g. angleControl, vertexControl), and the rendering code uses string
 comparison calls to branch based on their values.  This all happens inside
 the rendering loop.  A more efficient implementation is to use enumerated
 types in place of these string members.  In the common case (no
 expressions) the strings are then evaluated only once when the style is
 evaluated.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/508>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list