comparison flys-artifacts/ChangeLog @ 3191:ef0db530c341

Removed some expensive XPath usage. flys-artifacts/trunk@4807 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 27 Jun 2012 09:16:28 +0000
parents 49fe2ed03c12
children cd309f8597f6
comparison
equal deleted inserted replaced
3190:49fe2ed03c12 3191:ef0db530c341
1 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
4 Removed some expensive XPath usage. Some quick profiling
5 showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
6 were spend in these XPaths. A lot of time
7
8 !!! Please, please, dear fellow programmers do not use XPath for fetching
9 !!! trivial things that are easily accessible via DOM, too!
10
1 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> 11 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 12
3 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java, 13 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,
4 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java: 14 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
5 Refactored to better fit the data types of SQResult. 15 Refactored to better fit the data types of SQResult.

http://dive4elements.wald.intevation.org