-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Optimize linear codes: __eq__, dual_code and commented debug lines #19492
Comments
Branch: u/dlucas/clean_linear_code |
Commit: |
comment:2
Let I also rewrote Finally, I removed a lot of old debug prints that were still present in this file as commented lines. This is now ready for review. New commits:
|
Author: David Lucas |
comment:4
The following would be cleaner on two lines.
Otherwise it looks good. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Thanks for your input. I changed the code to what you suggested. I also fixed a silly copy-paste mistake two lines below the one you mentioned. David |
comment:7
While you are at it, the print statements like
are really ugly. Could you do something cleaner like
|
comment:8
Even better would be
since that's compatible with Python 2 and 3. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
It's done. |
Reviewer: Vincent Delecroix |
Changed branch from u/dlucas/clean_linear_code to |
Some code in
LinearCode.py
is quite old and/or slow, and could be optimized.This tickets proposes a faster implementation for
__eq__
anddual_code
methods.It also removes a lot of commented debug lines.
Component: coding theory
Author: David Lucas
Branch/Commit:
b869837
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/19492
The text was updated successfully, but these errors were encountered: