do not cache code string
optimize: reduce cgo calls