Examine performance impact on extra object allocation due to getFileName/getLineNumber

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      StackFrame::getFileName and StackFrame::getLineNumber return Optional that incurs an extra object allocation. File name and line number are available in common cases.

      We should measure the footprint and performance difference with the use of Optional and re-examine if StackFrame::getFileName and StackFrame::getLineNumber should return Optional or not.

            Assignee:
            Brent Christian
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: