Influence of fractal dimension on diffusion-controlled reactions