Skip to content

算法能否支持字符串id #1184

Closed
Closed

Description

@inurfuture

image
在载图的文档中看到,id是支持为字符串的,只是会影响存储和算法性能

image
根据api文档中描述,例如sssp算法的入参src类型为int

请问sssp算法是否能支持字符串id呢,对性能的影响会有多大呢

Activity

  1. welcome commented on Dec 17, 2021

    @welcome

    Thanks for opening your first issue here! Be sure to follow the issue template! And a maintainer will get back to you shortly!

  2. sighingnow commented on Dec 17, 2021

    @sighingnow
    Collaborator

    请问sssp算法是否能支持字符串id呢

    src definitely could be a str if the oid type of the graph is string.

    对性能的影响会有多大呢

    For built-in app sssp, the impact on performance should be ignoreable.

  3. added
    question
    on Dec 17, 2021
  4. sighingnow commented on Dec 17, 2021

    @sighingnow
    Collaborator

    And yes, we should update the document to reflect the truth that here str is ok as well.

  5. locked and limited conversation to collaborators on Dec 17, 2021
  6. converted this issue into a discussion #1185 on Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:pythonquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions