title: Dfs maze generation, optimization?
body: <p>I am trying to learn to implement all of the maze generation algorithms one by one, my first maze generation algorithm was dfs backtracking ( non recursive ) and i am done with the implementation, i have used cpp and sfml for it.</p>
  <p>I optimized it by using 1d vector and bit fields and the final results for rendering a maze of 9000 x 9000 with a cell size of 2 is around 1 min and 46 seconds ( directly writing to image no gui ).</p>
  <p>Can this be still improved? ( I think my image writing method is quite slow. )</p>