The memset implementations does a very basic char\* based setting. In fact many functions in stringfuncs.nim can benefit with some perf boost.