RelationalAI-oss / Rematch.jl

Pattern matching
Other
52 stars 6 forks source link

Use fieldcount to reduce allocations #4

Closed sjoelund closed 6 years ago

sjoelund commented 6 years ago

fieldnames returns a tuple of names constructed for each call (despite being immutable) whereas fieldcount returns an Int.

mdashti commented 6 years ago

Thanks @sjoelund. Sounds good.