csv icon indicating copy to clipboard operation
csv copied to clipboard

Increase speed of Table#to_csv

Open wishdev opened this issue 7 months ago • 11 comments

If we set the encoding when we call Table#to_csv we do not need to go row by row to determine the encoding to use. This allows the use of CSV#generate_lines as a faster exporter.

Add a single_encoding option to Table#to_csv to use the encoding of the first row of the table as the encoding.

wishdev avatar Jul 02 '25 23:07 wishdev