youxinren / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
Apache License 2.0
0 stars 0 forks source link

StreamReader should use only immutable data structures #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
StreamReader is using StringBuilder to store the input. Since this data 
structure is mutable it does not allow us to give a reference to it to the Mark 
instances (and thus share the same instance between all the Mark instances)

Original issue reported on code.google.com by py4fun@gmail.com on 20 Jan 2011 at 8:58

GoogleCodeExporter commented 9 years ago
We need to check that there is no performance degradation.

http://code.google.com/r/py4fun-immutable-reader/source/list

Original comment by py4fun@gmail.com on 20 Jan 2011 at 10:32

GoogleCodeExporter commented 9 years ago
The setting to skip Mark for error messages is removed as Marks are now always 
stored.
Because of this change the performance is not affected.
It will be delivered in release 1.8

Original comment by py4fun@gmail.com on 26 Jan 2011 at 8:34