Cornstarch is faster-acting than flour. It forms a more smooth clear filling, but too much cornstarch can make it have a slimy texture.