seq-code / registry

https://seqco.de
MIT License
2 stars 0 forks source link

Cache priority date of names #86

Closed lmrodriguezr closed 1 year ago

lmrodriguezr commented 1 year ago

The priority date of names is currently determined by register list (see Name.priority_date), but this causes an N+1 queries issue when gathering type material. We should instead store a cached value in the Name table instead. This would also allow to eventually capture the priority dates of ICNP names.