After getting lots of things printed in the REPL, it will block for a second or two everytime you press space inside the REPL. Could it be that the autocomplete function searches through the REPL's history or something like that?