mark-christiaens/xtext — comment on commit 701231c7b73b88cbd6cd05b9aef9c5adf3e5473f
File: plugins/org.eclipse.xtext/src/org/eclipse/xtext/nodemodel/serialization/DefaultSerializationService.java line 182
By szarnekow:

No, my thoughts were more in the direction that the EObjectOutputStream has been around for quite some time and I'd assume that every single line of code has been considered carefully. If the code intends to do the same as your code, it should be possible to learn from it. E.g. explore writeCompressedInt and writeString.