some perf improvements and readme infos