goldmark
goldmark copied to clipboard
update unsafe code to user newer-faster-better idioms
The new unsafe string/slice functions insulate the code from unlikely-but-still-possible changes to string and slice representation, and tend to compile to slightly better code. Build tags keep things working with older toolchains.