yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

update unsafe code to user newer-faster-better idioms #432

Closed dr2chase closed 3 weeks ago

dr2chase commented 11 months ago

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.

github-actions[bot] commented 5 months ago

This PR is stale because it has been open for 180 days with no activity.