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

Groups are not cached when created #1598

Closed
royess opened this issue Sep 10, 2024 · 2 comments
Closed

Groups are not cached when created #1598

royess opened this issue Sep 10, 2024 · 2 comments

Comments

@royess
Copy link

royess commented Sep 10, 2024

It seems that groups are not cached when created. So if I create a same group twice, it will return two unequal objects.

julia> G = abelian_group(10)
Z/10

julia> G1 = abelian_group(10)
Z/10

julia> G == G1
false

julia> GG = small_group(10,1)
Generic group of order 10 with multiplication table

julia> GG1 = small_group(10,1)
Generic group of order 10 with multiplication table

julia> GG == GG1
false

I noticed that rings and fields are typically cached. Are there some specific reasons why we do not cache groups?

@fieker
Copy link
Collaborator

fieker commented Sep 10, 2024 via email

@fingolfin
Copy link
Contributor

So I think the answer essentially is: this works as intended.

@fieker fieker closed this as completed Nov 29, 2024
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

3 participants