Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number_of_objectified_objects_in_data_structure_of_object etc. to compiler_hints #1120

Open
mohamed-barakat opened this issue Oct 28, 2022 · 1 comment

Comments

@mohamed-barakat
Copy link
Member

No description provided.

@zickgraf
Copy link
Member

zickgraf commented Nov 7, 2022

The reason why I did not add this to compiler_hints is that currently the information only makes sense for a given tower. E.g. the total number of morphisms needed to construct a FreydCategory morphism depends of course on the underlying category. If we compile a tower without wrapping it, there is no natural place to store this information, expect the call to PrecompileCategory.

In the future it would be nice if a category could specify how many underlying objects and morphisms are used to create an object or morphism, and CompilerForCAP could collect this information for any given tower. But for now, this is a very primitive system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants