Does your period shorten when you masturbate?

Because I've noticed if I don't masturbate on my period it's 4-5 days but when I do it's 3-4 days and I'm not quite sure if that's abnormal or anything.