Re: Speed up COPY TO text/CSV parsing using SIMD

Started by sahil verma3 months ago1 messageshackers

Thread notes

1 note#performance#moderate#enhancement
hackorum-bot#performance#moderate#enhancement
hackorum-bot
2 days ago

@global #performance #moderate #enhancement

#performance#moderate#enhancement
Jump to latest
#1sahil verma
sahilvermatokyo1@gmail.com

Hi Ayoub,

I applied the patch to the latest master branch. It applied cleanly,
compiled without warnings, and all regression tests passed
successfully. I also manually verified the CSV output using a test
table.

The code changes are clear. The optimization to avoid the redundant
strlen() pass by reusing the tptr offset, and bulk-sending the clean
prefix when escapec == quotec, makes perfect sense and introduces no
logical regressions.

Regards,
Sahil