-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Printing a bigger gt table is very slow and consumes a lot of memory. Part of this need to be addressed in {gt} but another big part is the tagWrite() function. It would be great to improve the performance.
Example
profvis::profvis(
ggplot2::diamonds %>%
gt::gt() %>%
print()
)It also seems that the memory consumption grows more than linear
profvis::profvis({print_diamonds(4e3)})
# 28.6 MB in `renderTags()`
profvis::profvis({print_diamonds(8e3)})
# 103 MB in `renderTags()`
profvis::profvis({print_diamonds(16e3)})
# 346.9 MB in `renderTags()`There are multiple things that need to be improved
- the textWriter is slow and memory hungry
-
takeSingleton() -
takeHeads() -
findDependencies() -
tagify()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
