- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Replace ecmult_context with a generated static array. #956
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
Replace ecmult_context with a generated static array. #956
Conversation
| Was curious, the binary size on my machine with all modules enabled before this change was:  | 
| That's expected since the  I'll also add that you can reduce the binary size by reducing the  | 
| 
 Yeah I know :) it wasn't a complaint or anything, just wanted to write it here for reference. less than a MB for simplifying the API and simplifying usage is pretty good | 
de435e5    to
    e1a2bd8      
    Compare
  
    | @roconnor-blockstream Here's a branch with two fixups commits: The first commit simply reverts your changes to the build system. The second commit introduces a very simple approach to change the build system: Just have a configure option  Nit on naming: | 
e1a2bd8    to
    aa90043      
    Compare
  
    | If you want, you could add a  This will exclude this file from GitHub language statistics (x% C Code, y% bash script, ...), and fold the file by default when showing diffs. But yeah, it's not the most important thing in the world. :P https://github.com/github/linguist/blob/master/docs/overrides.md | 
eb12bf1    to
    4378cdb      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should #include <stdio.h>
abcfe6b    to
    8e8d0e4      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is good, here are some nits.
| I wonder what we should do with the context now... For example, the  | 
8e8d0e4    to
    2f7fae7      
    Compare
  
    |  | 
2f7fae7    to
    8de62e3      
    Compare
  
    | Post-merge re-ACK 20abd52 | 
Replace ecmult_context with a static array.