Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-3093

optimization of readmap function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7.2
    • 4.0.0, 3.7.3
    • go
    • None

    Description

      There are two optimization points for the readmap function:

      1. Map key cannot be an incomparable type, otherwise it will cause a panic, but the function does not distinguish
      2. When the key is an incomparable type, adjusted to fmt.Sprint(k) to avoid unreadable output

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas-dg thomas-dg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: