Electrolysis efficiency

I heard that electrolysis is the most efficient when done regularly, meaning that 10 treatments every 2 weeks would give better results than 10 treatments every 6 weeks. It apparently ensures than all the treated hair is in anagen phase, but wouldn’t simply shavig a few days before a treatment have the same effect?