polydbms / pg_sheet_fdw

MIT License
4 stars 0 forks source link

Polish pg_sheet_fdw #11

Open Hyrikan opened 6 months ago

Hyrikan commented 6 months ago
Hyrikan commented 6 months ago

added virtual tuples.

Hyrikan commented 6 months ago

reduced string copying to a feasible minimum by accessing the memory of the cpp XlsxCell type like it is a similar spaced c type. This makes it necessary to call the readout of the dynamic xlsx string from c directly. We arrive at one .c_str() call in cpp and two copies of the string, from which one is mandatory in pg!

For the future, the copie could be further reduced to one by accessing the mSharedStrings array in the XlsxFile directly from c and ignoring the interaction methods of the XlsxFile.