facebook / time

Meta's Time libraries
Apache License 2.0
592 stars 74 forks source link

fetch firmware version once #375

Closed leoleovich closed 2 months ago

leoleovich commented 2 months ago

Summary: Instead of parsing the firmware version every time we call Version lets parse it once when we initialize the firmware struct. This will save us some lookups especially when managing many devices. Also it's much faster

Reviewed By: abulimov

Differential Revision: D58999323

facebook-github-bot commented 2 months ago

This pull request was exported from Phabricator. Differential Revision: D58999323

facebook-github-bot commented 2 months ago

This pull request was exported from Phabricator. Differential Revision: D58999323

facebook-github-bot commented 2 months ago

This pull request was exported from Phabricator. Differential Revision: D58999323

facebook-github-bot commented 2 months ago

This pull request has been merged in facebook/time@546619986dff04764032569994bbde9f36733c8d.