Closed
Bug 89017
Opened 23 years ago
Closed 23 years ago
PredicateList::evaluatePredicates isn't nifty
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: axel, Assigned: axel)
Details
Attachments
(1 file)
6.14 KB,
patch
|
Details | Diff | Splinter Review |
The use of NodeSet::remove is sad, and it's prolly slow for foo[6].
The code should be redone.
Assigning to me
Axel
Assignee | ||
Comment 1•23 years ago
|
||
attaching patch.
this has:
code cleanup
ListIterator pattern changed from heap to stack, no new. use txListIterator
added assertion for null checks
optimize code in the respect that we don't check for duplicates in NodeSets.
This isn't needed, as we don't deal with any Node, that hasn't been part of
the NodeSet already. (restore that at the end).
I didn't go for switching the two NodeSets, basically for three reasons:
We have to modify the original NodeSet, so I had to keep track of which is the
current one. For uneven number of predicates, we still have to copy, so the
case of one predicate doesn't gain any profit. And we had to switch the context
nodeset in each run.
--> not worth the trouble IMHO.
Axel
Status: NEW → ASSIGNED
Keywords: review
Assignee | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
r=peterv. Now send me that 100 DM you promised me for this r stamp.
Assignee | ||
Comment 4•23 years ago
|
||
and I thought you wanna get rid of dying currencies. Here you go:
100 DM.
Axel
r=sicking
Comment 6•23 years ago
|
||
sr=jst, I'm thinking I need some of those DM's too by now :-)
Assignee | ||
Comment 7•23 years ago
|
||
fix checked in, made mental note to ship some DM to jst next year.
Axel
have you sent those 100DM yet?
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•