Comments (5)
Is there a reason for not doing m = n_pow(g, n)
and then for (j = 0; j < m; j++)
?
from flint.
It is cheap compared to searching for all such instances as they don't necessarily have to be contained within for-loops. It can also lead to more readable code.
from flint.
Personally, I am a big fan of attributes since that hints the compiler that it can assume even more things. Of course, one should still try to optimize the code as much as possible, as this is only valid for GCC-compatible compilers.
from flint.
I don't think there are too many of these.
One of the drawbacks of this attribute is that the compiler can start to optimize out benchmarked function calls from benchmarking loops :-)
from flint.
That's true.
from flint.
Related Issues (20)
- Implement `mpn_gcdinv` with precomputed powers of two modular inverses HOT 2
- `n_revbin` is used though some architectures has reverse binary instructions
- Bug in `fq_nmod_mpoly_factor` triggered by large test multiplier HOT 2
- arb_hypgeom_beta_lower gives weird results HOT 1
- `(_)arb_mat_entrywise_(not_)is_zero` doesn't make sense
- Global field accessor macros for matrices and polynomials
- More `is_canonical` functions for tests HOT 2
- Override gr_mat_eigenvalues HOT 1
- Could we release 3.1.3-p1? HOT 1
- fmpz_mpoly_pfrac_init: internal error HOT 7
- Worklist for nfloat HOT 3
- SIMD abstraction layers HOT 5
- Problems with Riemann theta functions HOT 41
- 3.1.3 isn't in the Downlioads section of the website: https://flintlib.org/downloads.html HOT 2
- Document need for libtool
- Improve parallel Schönhage-Strassen multiplication
- file padic_types.h not getting installed HOT 2
- Test failures when compiled with GCC graphite flags HOT 5
- #error machine_vector.h not implemented on AMD Ryzen 7 without forcing --enable-avx HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flint.