uber/h3

Inline _isBaseCellPentagon

开放

#984 创建于 2025年3月9日

 (0 条评论) (0 个反应) (0 位负责人)C (585 个派生)github user discovery
help wanted

仓库指标

星标
 (6,310 个星标)
PR 合并指标
 (平均合并 7天 19小时) (30 天内合并 17 个 PR)

描述

This is a follow-up for https://github.com/uber/h3/pull/968

As discussed in https://github.com/uber/h3/pull/968, it would be nice to inline _isBaseCellPentagon for use in isValidCell (and potentially other spots in the code base).

I couldn't get this working in https://github.com/uber/h3/pull/968 after trying a mixture of inline and extern, so making this ticket to follow up and revisit.

Some notes:

  • maybe benchmark the array of structs vs stuct of arrays in baseCellData

贡献者指南