In the past few days, I have been struggling to optimize performance on the D3 card, especially on mobile devices. I use SVG transforms for zooming and panning, but I made the following observation: the excess comes from the strokes of the path used to fake between countries.
I downloaded a couple of sample cards for comparison:
http://www.nicksotiriadis.gr/d3/d3-map-1.html
http://www.nicksotiriadis.gr/d3/d3-map-2.html
The only difference between the two cards is the path through the country's channels, and the difference in performance is even noticeable on desktop devices, but more obvious on mobile devices. Removing path strokes makes mobile productivity easy.
I tried all kinds of svg form rendering options without significant results.
Now to the question. Is there a way to remove the thin border from each country in order to fake an interval between countries instead of using a stroke?
If anyone has a different sentence, I would like to hear it!
Update: Attach an explanatory photo.
I drew this. The red arrow indicates the joints of the country. When you add a stroke in the same color as the background in the country’s path (shown in dark gray here), you get the feeling that the countries are divided - however, this adds a serious performance hit to mobile devices. What I'm looking for will somehow reformat the paths of countries so that their borders are where the blue arrow indicates, but without a stroke.

Update 2: People seem to be unable to understand what I'm looking for, so I am updating this to make the question even clearer.

Suppose the original country paths are shown to the left of this image. What I'm looking for is a way in which I can somehow “contact” the paths inward so that the newly created paths appear in red, leaving enough empty space between them that “mimics” the spacing between them.
Performing this, will not use an extra level of strokes, thereby increasing performance only by using paths instead of paths + strokes.
Update 2: Hello, again, it seems I have found half the solution to my problem. I managed to extract the topojson into a shapefile, edit the shapefile as I want (using a program called OpenJump), but the conversion removes all the topojson properties that I need - id, country name, so I can not convert back to the original topojson.
Does anyone have any suggestions?