[cvs-nhc98] patch applied (hat): Improved speed of writing new trace.