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

Faster GF(p^n) arithmetic for p^n >= 2^16 #417

Open
malb opened this issue Aug 10, 2007 · 4 comments
Open

Faster GF(p^n) arithmetic for p^n >= 2^16 #417

malb opened this issue Aug 10, 2007 · 4 comments

Comments

@malb
Copy link
Member

malb commented Aug 10, 2007

The Pari+Python interface is too slow. ntl.ZZ_pE+Cython should be much faster.

CC: @sagetrac-ylchapuy @koffie

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/417

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Oct 27, 2007

comment:2

Hmm, could this have been fixed by the NTL wrapper rewrite?

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.8.9 milestone Oct 27, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin removed the wishlist item label Oct 27, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.8.9, sage-2.8.10 Oct 27, 2007
@malb
Copy link
Member Author

malb commented Oct 30, 2007

comment:4

No, this was not fixed by the NTL wrapper rewrite. NTL still needs to be actually used internally by FiniteField. This ticket requires two new implementations. GF(pn) for p < (sizeof(long)<<3) and for p >= (sizeof(long)<<3). These are different classes in NTL and should both be wrapped.

@sagetrac-johanbosman
Copy link
Mannequin

sagetrac-johanbosman mannequin commented Aug 18, 2011

Replying to @malb:

The Pari+Python interface is too slow. ntl.ZZ_pE+Cython should be much faster.

I completely agree. How much work has been done on this yet and how much work still needs to be done?

@malb
Copy link
Member Author

malb commented Aug 18, 2011

comment:7

I don't think anybody worked on this much. GF(2e) was switched to NTL, but nothing else happened.

However, the GF(2e) should be a reasonable starting point for doing other fields (word-sized primes and general primes).

Also, we should eventually move sparse moduli interally but that's for another project :)

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
tobiasdiez pushed a commit to tobiasdiez/sage that referenced this issue Feb 22, 2024
Co-authored-by: LGTM Migrator <lgtm-migrator@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants