Inefficient data format and parser
Context
Network,IO
Affects
Efficiency
Problem
The use of TreeParsers is slow.
This is a comparison of different data formats and parsers. It is taken from: Coding for Life – Battery Life, That is
Refactorings
Use efficient data parser and format
Resolves
Efficiency
Affects
Solution
- Use “stream” parsers instead of tree parsers
- Consider binary formats that can easily mix binary and text data into a single request
Links
Related