(original) (raw)
Seems very interesting ... I just looked at the documentation.
AGG code would be worth to look at but somebody should check if their license is compatible with openjdk license terms.
Apparently AGG uses integers to convert float values (24.8 ie float are multiplied by 256 and then converted to integers)
Laurent
2013/5/29 Andrea Aime <andrea.aime@geo-solutions.it>
On Wed, May 29, 2013 at 11:01 AM, Laurent Bourg�s <bourges.laurent@gmail.com> wrote:--Finally I propose to focus on optimizing these 2 algorithms (methods) as it represents 55% of cpu time:
- optimize / modify algorithms: integer instead of float ops, reduce number of condition statements (if) to improve branch prediction ...
I have been fancying a port to java of the agg liteweight rasterize (http://www.antigrain.com/download/index.html)�and indeed that code, besides producing high quality antialiased outputs, works with rescaled integers.Might be work having a lookCheersAndrea�==GeoServer training in Milan, 6th & 7th June 2013! �Visit�http://geoserver.geo-solutions.it�for more information.
==
Ing. Andrea Aime�@geowolfTechnical LeadGeoSolutions S.A.S.Via Poggio alle Viti 118755054 �Massarosa (LU)Italyphone: +39 0584 962313fax: +39 0584 1660272mob: +39 �339 8844549-------------------------------------------------------