https://issues.dlang.org/show_bug.cgi?id=4763

--- Comment #7 from Andre <d.developer.an...@gmail.com> ---
I did a code review, made some rough changes and tested it successfully.

Conclusion: it's possible to implement a more efficient open() that re-uses the
File struct state, avoiding the destructor/free + constructor/malloc pattern.

I have to admit that the current implementation is shorter, easier to read.

How much do we really need a more efficient File.open method? In what
situations will this be beneficial?

--

Reply via email to