static String create(final long num) {
        // This method is ~2x as quick as
        // return Strings.padStart(Long.toString(num), 10, '0');
        if (num == 0) {
            return "0000000000";
        } else {
            final String str = String.valueOf(num);
            int len = str.length();
            return switch (len) {
                case 0 -> "0000000000";
                case 1 -> "000000000" + str;
                case 2 -> "00000000" + str;
                case 3 -> "0000000" + str;
                case 4 -> "000000" + str;
                case 5 -> "00000" + str;
                case 6 -> "0000" + str;
                case 7 -> "000" + str;
                case 8 -> "00" + str;
                case 9 -> "0" + str;
                default -> str;
            };
        }
    }
Create a string to use as part of a file name that is a `0` padded number.

@param num The number to create the name from.
@return A `0` padded string representing the supplied number.
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/handler/NumberedDirProvider.java