You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1158
# Description
Fix remaining HFB bottlenecks. This reduces writing the HFB package from
the LHM from 12.5 minutes to 2 minutes.
- Cache results ``xu.Ugrid2d.from_structured``, as this is a costly
operation
- Use ``and`` instead of ``&`` operator in the ``scalar_None`` function,
to enable shortcutting.
- Remove ``mask_all_packages`` function in ``from_imod5_data``, call in
tests.
- Create separate pixi task for slow unittests, where just in time
compilation is enabled. ``pixi run unittests`` still runs all unittests,
by starting two pixi tasks ``unittests_njit`` & ``unittests_jit``.
# Checklist
- [x] Links to correct issue
- [x] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [x] Unit tests were added
- [ ] **If feature added**: Added/extended example
0 commit comments