[Issue 20892] [REG2.086] ElfFile comparison suboptimal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 2 19:43:00 UTC 2020


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

--- Comment #2 from johanengelen at weka.io ---
("your specific code": don't fully understand, as this is druntime's code :))

https://github.com/dlang/druntime/blob/ebfe05ea945f9ef0eb56b7f3b02a07df2fc64901/src/core/internal/elf/io.d#L287

Yes, I think this instance can be fixed with an explicit
TypedMMapRegion.opEquals.

--


More information about the Digitalmars-d-bugs mailing list