avoid some string concatenations

[?]
Jun 10, 2022, 2:14 PM
UN7L3DNN4Y3BCIA7SM6GYYWQG3OKVCH7ADPKAVF33E6QXY2HEJMQC

Dependencies

  • [2] 2K2YDMFH ignore 'deleted' shapes when saving to disk
  • [3] VHQCNMAR several more modules
  • [4] BYG5CEMV support for naming points
  • [5] AD34IX2Z couple more tests
  • [6] 2XLZCWZC bugfix: rectangles and squares are now saved

Change contents

  • replacement in file.lua at line 37
    [3.16169][3.16169:16206]()
    outfile:write(line.data..'\n')
    [3.16169]
    [3.16206]
    outfile:write(line.data, '\n')
  • replacement in file.lua at line 85
    [3.17287][3.17287:17333]()
    outfile:write(json.encode(shape)..'\n')
    [3.17287]
    [3.17333]
    outfile:write(json.encode(shape), '\n')
  • replacement in file.lua at line 88
    [3.17507][3.17507:17539]()
    outfile:write(line..'\n')
    [3.17507]
    [3.289]
    outfile:write(line, '\n')
  • replacement in file.lua at line 95
    [3.17771][3.17771:17803]()
    outfile:write(line..'\n')
    [3.17771]
    [3.17803]
    outfile:write(line, '\n')
  • replacement in file.lua at line 97
    [3.17842][3.17842:17958]()
    outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius})..'\n')
    [3.17842]
    [3.17958]
    outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}), '\n')
  • replacement in file.lua at line 99
    [3.17994][3.17994:18168]()
    outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle})..'\n')
    [3.17994]
    [2.67]
    outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}), '\n')