r-simmer / simmer

Discrete-Event Simulation for R
https://r-simmer.org
GNU General Public License v2.0
222 stars 42 forks source link

Add support for vectors of capacities, queue sizes... #288

Open Enchufa2 opened 2 years ago

Enchufa2 commented 2 years ago

Otherwise, adding a large number of resources takes a lot of time. See https://groups.google.com/g/simmer-devel/c/YSep4jMzg0E/m/h2gKnh8lAQAJ

Enchufa2 commented 2 years ago

We should also put a limit on the number of items that are printed when an environment is printed, maybe following R's own dataframe limits.

Enchufa2 commented 2 years ago

Apart from the checks, this line takes a lot of time for many resources https://github.com/r-simmer/simmer/blob/a6e86d3bfce9ab1861d8fac1aad36583cdec6cee/R/simmer-methods.R#L332

so better to switch to a dataframe.