Right now, all NDF files which are needed for the framework to run are listed as constants in mw2.constants.ndf_paths and loaded via the ALL constant in that file. This means that every time i touch a new file i need to update this in two places, which is somewhat error-prone.
Given that the ndf_path decorator necessarily lists these, they could be lazily loaded as needed when such methods are called. This would reduce error surface and make performance better as well.
Right now, all NDF files which are needed for the framework to run are listed as constants in
mw2.constants.ndf_paths
and loaded via theALL
constant in that file. This means that every time i touch a new file i need to update this in two places, which is somewhat error-prone.Given that the
ndf_path
decorator necessarily lists these, they could be lazily loaded as needed when such methods are called. This would reduce error surface and make performance better as well.