Issue 83502 - sax::XFastAttributeList: access by index should be added
Summary: sax::XFastAttributeList: access by index should be added
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m235
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 16:26 UTC by sven.jacobi
Modified: 2013-08-07 15:40 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sven.jacobi 2007-11-09 16:26:43 UTC
access by index should be added to the sax::XFastAttributeList otherwise it
might be a performance issue.

at the moment asking for attributes is as follows:

if ( hasAttribute( .... ) )
 getAttribute( ... ).
if ( hasAttribute( ... ) )
  getAttribute( ... )

Due to the fact that order of attributes mostly doesn't matter a access by index
would be much better, simply because available attributes are accessible
directly ( without asking "hasAttribute" ) - this is a big advantage that also
will improve the performance
Comment 1 Martin Hollmichel 2007-11-09 17:01:30 UTC
set target from 2.x to 3.x according
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 2 clippka 2010-02-23 17:46:31 UTC
cl->sj: I'm neither a user not a maintainer of this code any longer, if you want
to have it, fix it :)