Of possible interest: fast UTF8 validation
Walter Bright
newshound2 at digitalmars.com
Wed May 16 20:34:26 UTC 2018
On 5/16/2018 10:28 AM, Ethan wrote:
> (Related: one feature I'd really really really love for linkers to implement is
> the ability to mark up certain functions to only ever be linked at a certain
> byte boundary. And that's purely because Jaguar branch prediction often made my
> profiling tests non-deterministic between compiles. A NOP is a legit
> optimisation on those processors.)
Linkers already do that. Alignment is specified on all symbols emitted by the
compiler, and the linker uses that info.
More information about the Digitalmars-d
mailing list