Skip to content

Issue when using explicit i64 on 32 bit machines #15

Description

@Dollab

Hi, I've encountered the following issue: i_triangle can map polygons to i64 when specified, but i_key_sort::SortKey for i64, still computes key distances as usize.

In a 32bit environment, such as wasm32, that will truncate the 64-bit distance; the bin layout is then sized from one truncated value while indexing uses another, producing a bin index beyond its 256-entry mapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions