-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Rewrite Clifford and exterior algebras to have a basis indexed by integers #32369
Comments
Dependencies: # 33989 |
Changed dependencies from # 33989 to #33989 |
Commit: |
Changed keywords from none to gsoc2022 exterior algebra index integer |
Branch: u/tkarn/32369-exterior-rewrite |
Author: Trevor K. Karn |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/tkarn/32369-exterior-rewrite to u/tkarn/32369-exterior-rewrite-v2 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:36
This is faster for hashing and equality testing, which are two of the big things I wanted to speed up since the element implementation is using
I made a number of small reviewer changes. If they are good with you, then this is a positive review. New commits:
|
Changed branch from u/tkarn/32369-exterior-rewrite-v2 to public/algebras/exterior_algebra_index_set-32369 |
Reviewer: Travis Scrimshaw |
comment:38
This should now pass all the doctests. The indexing set should be a Some simple timings for multiplication:
versus before
So we are seeing substantial gains when multiplying larger elements. With the Cythonization of #34138, this then becomes
Is it easy to run timings for these computations in M2? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:40
Replying to @tscrim:
Here you go:
|
comment:41
Your machine is better than mine, so I'm including the same timings on my machine so the comparison to M2 is more apples-to-apples.
|
comment:42
Interesting...Sage is faster on small examples but slower (almost 2x) on larger examples. I would have expected something far more uniform. |
comment:43
Patchbot is (morally) green. So if my review changes are good, then I think we are at a positive review. |
comment:44
Changes look good to me! Replying to @tscrim:
|
Changed branch from public/algebras/exterior_algebra_index_set-32369 to |
Integers are a more compact way of representing subsets with their bits. This should both decrease the memory usage to store elements and the speed due to using bit operations and nearly trivial hashing.
Depends on #34035
Depends on #34084
CC: @tscrim @trevorkarn
Component: algebra
Keywords: gsoc2022 exterior algebra index integer
Author: Trevor K. Karn
Branch/Commit:
2637750
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32369
The text was updated successfully, but these errors were encountered: