a matter of seconds / weeks / hours etc, only a few seconds, weeks etc.

In a matter of seconds, the building was in flames.
The ambulance arrived in a matter of minutes.
救护车几分钟内就到了。
The bullet missed his head by a matter of inches.
子弹只差几英寸就击中他的头部。