I have lots of sub routines and functions like these:

```
Sub LogInfo(Txt)
    'Write an entry to the log file

    If LogEnableInfo Then Log "Info: " & Txt
End Sub

```

Or this:

```
Function GetSettingValue(Key)
    'Get the value of a setting or an empty string if the setting is not set

    Dim Res

    If Settings.Exists(UCase(Key)) Then Res = Settings(UCase(Key)) Else Res = ""

    GetSettingValue = Res
End Function

```

Or this:

```
Sub DoExp(Exp, ErrTag)
    'Execute an HS.Exp with Error handling and Debugging

    Err.Clear
    On Error Resume Next

    HS.Exp Exp

    If Err.Number <> 0 Then
        LogError "HS.Exp """ & Exp & """ , Tag: " & ErrTag
        Err.Clear
    ElseIf LogEnablePut Then
        Log "Put: HS.Exp """ & Exp & """ , Tag: " & ErrTag
    End If

    On Error GoTo 0
End Sub

```

They're really one liners that don't do much, but I use lots of times, so I don't want to type it out every time. I also use recursive functions a lot.

Since speed and memory use is critical to my application, what I would like to know is if the act of calling a function or sub in `vbscript` has a considerable performance impact? I know that in PHP, this has been cited as a performance issue. Can I just go ahead and create zillions of little nested functions to do everything or should I use them a little more sparingly?