sensiasoft / lib-ogc

Library for manipulating various data models and service models defined in OGC standards
Mozilla Public License 2.0
5 stars 2 forks source link

Improve efficiency of SWE readers/writers #3

Open sensiasoft opened 8 years ago

sensiasoft commented 8 years ago

The SWE data stream readers/writers derive from a stack based iterator and recompute a lot of things during iteration (such as switching data types, etc.). Efficiency could be greatly improved by using a visitor approach and pre-computing a dedicated writer object for each scalar or block value.

alexrobin commented 4 years ago

This has been implemented for JSON and Text encoding