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

admit result GrpAbFinGen for maximal_abelian_quotient #1256

Merged
merged 1 commit into from
Apr 13, 2022
Merged

admit result GrpAbFinGen for maximal_abelian_quotient #1256

merged 1 commit into from
Apr 13, 2022

Conversation

ThomasBreuer
Copy link
Member

We will have the idea to cache the results of maximal_abelian_quotient, parametrized by their types.
Then the question arises how to deal with the unary version, where up to now the result of the GAP function determines the type of the result in Oscar.
One natural solution would be to take any cached result if there is one, which would make the description of the result type even more complicated.

We will have the idea to cache the results of `maximal_abelian_quotient`,
parametrized by their types.
Then the question arises how to deal with the unary version,
where up to now the result of the GAP function determines the type of the
result in Oscar.
One natural solution would be to take any cached result if there is one,
which would make the description of the result type even more complicated.
@fingolfin
Copy link
Member

I don't understand "We will have the idea to cache the results [...]"

@ThomasBreuer
Copy link
Member Author

The current pull request does not yet deal with caching.

Providing caching is straightforward for the version with prescribed type.
For the version without prescribed type, we can either keep the current behaviour that GAP computes a result and decides about its type, or we can change the behaviour by returning any cached value if there is one, where this cached value may be one that was computed with prescribed type. The former is already strange for Julia users, the latter even more.

@fingolfin fingolfin merged commit eeb40e4 into oscar-system:master Apr 13, 2022
@ThomasBreuer ThomasBreuer deleted the TB_maximal_abelian_quotient branch April 13, 2022 08:11
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

Successfully merging this pull request may close these issues.

2 participants