[Issue 13492] Last Postblit call optimization
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 12 11:51:15 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=13492
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WONTFIX
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I don't understand how you could elide the call to the postblit since you need
to pass a copy to the function. The bits will be blitted anyway and the
postblit might update a pointer that is shared between instances (consider
reference counting). Anyway, postblit has design flaws so we will not pursue
fixing it any further.
--
More information about the Digitalmars-d-bugs
mailing list