[Issue 18388] std.experimental.logger slow performance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 8 16:54:17 UTC 2018


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

--- Comment #3 from Arun Chandrasekaran <aruncxy at gmail.com> ---
(In reply to anonymous4 from comment #2)
> AFAIK, default logger implementations are simplistic and are not meant to be
> very fast. Fast logging requires a bit of design and is supposed to be 3rd
> party library, while std.experimental.logger provides a way to integrate it.

Thanks, but that's weird. If that's the case, why would anyone want to use
std.experimental.logger after all? Everyone will default to using their own
logger implementations not derived out of std.experimental.logger, knowing that
it is *slow*. I'm pretty sure that's not the goal of Phobos. May be something
was overlooked in the design or implementation that causes this slowness?

--


More information about the Digitalmars-d-bugs mailing list