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

貢獻者指南