I made two changes to the code that enhanced the taglib editor performance:
 
- I increased the size of the relatedCache variable to 1000. (Maybe this should be a configuration parameter)
- In the method org.mmbase.bridge.BasicNode.getRelations(int, int), I replaced the following code:

e=relbuilder.getRelations(getNumber(),otype, role);

by:

e=relbuilder.getRelated(getNumber(),otype, role);

I discovered that accesses to the InsRel table are quite a performance bottleneck. These changes increase the cached number of relations and make sure that this cache is used bij the taglibs. My question to you is: Is this a good approach? and if so, can someone make these changes to the repository?

Gerard van de Looi

E-id! Internet Strategies

Reply via email to