Skip to content

Reduce memory impact of loading entire dictionaries into memory #80

@GrayedFox

Description

@GrayedFox

Right now dictionaries are not buffered, but are rather read in their entirety before being used to instantiate a User:

Offending helper method that reads dictionaries.

Here the result is used to instantiate a User.

This is a massive resource hit and could likely be done better but I'm not quite sure how. Hopefully we don't need to wait until the web-extensions API exposes the actual browser spell checker (which would remove the need for nspell entirely) but that may be the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreRefactoring, maintenance, fine tuning, all that jazzfuzzyFor when it's not clear what the problem is or the fix should behelp wantedMedic!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions