Stream: helpdesk (published)

Topic: PrettyTables warmup


view this post on Zulip Eric Forgy (Feb 05 2021 at 09:58):

Hi,

I am working on some stuff and decided to use PrettyTables. It looks pretty slick, but the warmup is pretty painful. The table display is the slowest part of my code. Is there some way to "warmup" when I load the package so the initial time is taken once in the beginning and then when I display a table, it is fast the first time?

view this post on Zulip Fredrik Bagge Carlson (Feb 07 2021 at 15:16):

You can load the package and perform display to a garbage IO object in the startup file


Last updated: Nov 22 2024 at 04:41 UTC