Skip to content

Commit

Permalink
maybe dev
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Oct 31, 2024
1 parent e757adc commit ec62473
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/geoarrow/double_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <stdio.h>


#if defined(GEOARROW_USE_RYU) && GEOARROW_USE_RYU

#include "ryu/ryu.h"
Expand Down
2 changes: 1 addition & 1 deletion src/geoarrow/wkt_writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static int coords_wkt(struct GeoArrowVisitor* v, const struct GeoArrowCoordView*
// GeoArrowPrintDouble might require up to 40 accessible bytes per call
(40 * n_dims);

// Use a heuristic to esimate the number of characters we are about to write
// Use a heuristic to estimate the number of characters we are about to write
// to avoid more then one allocation for this call. This is normally substantially
// less than the theoretical amount.
int64_t max_chars_estimated = (n_coords * 2) + // space + comma after coordinate
Expand Down

0 comments on commit ec62473

Please sign in to comment.