aFelipeSP / pdfme

Make PDFs easily
MIT License
312 stars 21 forks source link

deepcopy fix #2

Closed aFelipeSP closed 3 years ago

aFelipeSP commented 3 years ago

Description

Using deepcopy in content module was slowing it down, specially when a lot of multicolumn nested elements were being added into a content box. An alternative for deepcopy was created, and some modifications were made in the rest of the code to replace deepcopy with our alternative. Some simple time measurements were made and this fix has improved the speed of content module 8 to 10 times.