mPDF Manual – mPDF Variables

packTableData

(mPDF ≥ 4.4)

packTableData – Use binary packing of table data to reduce memory usage

Description

void packTableData

Processing tables uses large amounts of internal memory, as the value are stored in an array. Enabling packTableData causes mPDF to pack the table data into a binary form saving considerable memory. However, the conversion to and from binary data takes a significant amount of time, and can increase processing time.

Values

$packTableDatatrue|false

Values

  • true: use binary packing of table data
  • false: does not use binary packing of table data

Default: false

Changelog

Version Description
4.4 Variable was added.

See Also

  • simpleTables - Disables complex table borders etc. to improve performance
Fork me on GitHub