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

Reduce compiled size #11

Open
5 of 7 tasks
staticintlucas opened this issue May 7, 2024 · 0 comments
Open
5 of 7 tasks

Reduce compiled size #11

staticintlucas opened this issue May 7, 2024 · 0 comments

Comments

@staticintlucas
Copy link
Owner

staticintlucas commented May 7, 2024

  • Replace Dashmap with RwLock<HashMap> (saves ~2%) (completed in 164af52)
  • Re-remove regex (completed in 047168d)
  • Remove/decrease size of toml/toml_edit (saves ~10%)
    • Should we delete TOML support and just use JSON for profile files? We already need JSON anyway for KLE
      • JSON profile support added in ff7b8f6
      • TOML deprecated in 41b5801 (will be released as 0.4)
      • Remove TOML support in 0.5
    • toml 0.5.x is less than half the size of later versions (pre-toml-edit), can we fork this, add TOML 1.0 compat, and keep it maintained?
    • Use tomli in Python to parse TOML for pykeyset, and remove direct TOML support in keyset-rs?
    • Other ideas
  • Ouroboros has quite a few dependencies
    • Mainly build time dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant