avoid using vsnprintf when possible for SStream_concat() to improve performance. based on the idea of Dang Hoang Vu.
x86: save prefixes to avoid expensive copying loop. based on idea of Dang Hoang Vu
x86: use SStream_concat0() where possible to improve performance - for AT&T and X86_REDUCE
x86: avoid malloc/free MCOperand with new API of MCInst: MCInst_addOperand0, MCInst_CreateReg0, MCInst_CreateImm0
x86: more simplification for better performance
x86: more simplification on managing MCOperand. this also fixes a bug in handling memory reference instructions
x86: fix a conflict when merging -next to -optimize branch
remove a redundant call to memset() in cs_disasm_ex()
x86: optimize struct InternalInstruction for memset(). this improve performance by around 4%
optimize memset() of MCInst_Init()
nullify cs_insn.detail when detail is OFF
x86: simplify byteReader_t
x86: copy prefix back after updating it in X86_lockrep()
simplify fill_insn(): do not check for \t in asm buffer
properly copy buffer to op_str
we have to consider \t in input buffer of fill_insn()
do not need to verify handle->insn_id in fill_insn()
copy mnemonic in the same loop of searching for mnemonic/opstring delimiter
directly update cs_insn from MCInst interface to avoid multiple memcpy()
cs_disasm_ex(): avoid multiple memcpy() by allocating memory for total, then directly work on that instead of using static array insn_cache[]