Skip to content

When accessing a single packfile, do not load every packfile into memory #4

Open
@dylanmckay

Description

@dylanmckay

Using the avr_mcu::microcontroller("atmega328p") function will load and parse every single packfile in the repository, causing it to take ~20s.

We should modify the function so that it only loads the packfile for the specified device.

This may be possible by downcasing the filenames of the packfiles and comparing them to the specified CPU. This may not work depending on whether or not all packfiles have unique filenames and also have filenames matching the mcu name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions