On Fri, 30 Aug 2019, Anthony Walter via lazarus wrote:
I am not sure how under any situation parsing a JSON from a stream source would be any faster than parsing a string.
If you would check the fpjson code, you'd see why. You'd also see why there is plenty of room for improvement.
Also with regards to timing I am not sure how accurate Now is. For this purpose I've written:
I agree that for time measurements of 10ms or less, you should not use Now for measurements. But over a total timespan of 2.9 seconds, now is plenty accurate. Michael. -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus