(In reply to Markus Stange [:mstange] from comment #4) > (In reply to Markus Stange [:mstange] from comment #2) > > where we only read the parts of the files that we actually need. > > Implementing this doesn't seem straightforward because the `object` crate [wants a slice to the entire file](https://docs.rs/object/0.22.0/object/read/struct.File.html#method.parse). This is in contrast to the DWARF information reader which has [a `Reader` abstraction](https://docs.rs/gimli/0.23.0/gimli/read/trait.Reader.html). I've filed https://github.com/gimli-rs/object/issues/269 to discuss changing `object`'s API.
Bug 1615066 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Markus Stange [:mstange] from comment #4) > (In reply to Markus Stange [:mstange] from comment #2) > > where we only read the parts of the files that we actually need. > > Implementing this doesn't seem straightforward because the `object` crate [wants a slice to the entire file](https://docs.rs/object/0.22.0/object/read/struct.File.html#method.parse). This is in contrast to the DWARF information reader which has [a `Reader` abstraction](https://docs.rs/gimli/0.23.0/gimli/read/trait.Reader.html). I've filed [gimli-rs/object#269](https://github.com/gimli-rs/object/issues/269) to discuss changing `object`'s API.