perf: speeding up assignment and word lists