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
Currently all segments are loaded at startup which means all dependencies are required (e.g. crunch64, libgfxd) - even if the user does not use the segments that use them.
This is caused by the "from . import foo as foo" statements in the __init__.py scripts. These are not required when running splat as a library (the presence of the __init__.py is enough to let python load modules). An open question is whether these statements are required when using splat as a library.
If not, then these __init__.py files can be emptied and we'll get the lazy loading of segments that we want.
The text was updated successfully, but these errors were encountered:
Currently all segments are loaded at startup which means all dependencies are required (e.g. crunch64, libgfxd) - even if the user does not use the segments that use them.
This is caused by the "from . import foo as foo" statements in the
__init__.py
scripts. These are not required when running splat as a library (the presence of the__init__.py
is enough to let python load modules). An open question is whether these statements are required when using splat as a library.If not, then these
__init__.py
files can be emptied and we'll get the lazy loading of segments that we want.The text was updated successfully, but these errors were encountered: