Avoid a string build in diagnostic reporting
commit19d93dd55cd9368f85b8a6b83e2ae0bac68134b2
authorOlly Betts <olly@survex.com>
Wed, 13 Mar 2024 21:03:16 +0000 (14 10:03 +1300)
committerOlly Betts <olly@survex.com>
Wed, 13 Mar 2024 21:03:16 +0000 (14 10:03 +1300)
treed2f9f7ffcdbc286dadd1bec072b49c3968f9634d
parent05329549133ec8e86b818f89647a909574f7a264
Avoid a string build in diagnostic reporting

We build up a string character by character just to get its length,
but we can simply increment a counter instead.
src/datain.c