mirror of
https://github.com/Pagwin-Fedora/website.git
synced 2025-07-18 05:25:42 +00:00
Merge pull request #12 from Pagwin-Fedora/development
added the git repo for the fraction generation
This commit is contained in:
commit
2e1bca1550
1 changed files with 2 additions and 0 deletions
|
@ -203,3 +203,5 @@ So that was fun going through and making all this work out well, now I can gener
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
|
||||||
Could I optimize this more? Yes I could pre-allocate a buffer and use a specialized thread pool(and probably some unsafe code as well thinking about it). But I won't because it's fast enough, the remaining speed gains probably aren't worth it and most of the execution time is spent writing the results to disk. Overall this was a fun sidequest as a part of the fraction quest. I did other stuff between the article before the fraction one and the fraction one and maybe I'll dump those articles at some point soon so I can stop feeling bad about them sitting in my website's git repo doing nothing.
|
Could I optimize this more? Yes I could pre-allocate a buffer and use a specialized thread pool(and probably some unsafe code as well thinking about it). But I won't because it's fast enough, the remaining speed gains probably aren't worth it and most of the execution time is spent writing the results to disk. Overall this was a fun sidequest as a part of the fraction quest. I did other stuff between the article before the fraction one and the fraction one and maybe I'll dump those articles at some point soon so I can stop feeling bad about them sitting in my website's git repo doing nothing.
|
||||||
|
|
||||||
|
[git repo with the generator](https://github.com/Pagwin-Fedora/fraction_generator)
|
||||||
|
|
Loading…
Reference in a new issue