Thanks for the great info. I really appreciate your time and effort. 

Cheers,
Jason 

Sent from my phone; please pardon any communication catastrophes.

On Jul 23, 2018, at 2:36 PM, Adam R. Maxwell via Bibdesk-users 
<bibdesk-users@lists.sourceforge.net> wrote:



> On Jul 23, 2018, at 12:19 PM, "Craggs, Jason G." 
> <crag...@health.missouri.edu> wrote:
> 

> Question born of ignorance: is there any sort of cost to using that much 
> metadata in the cite key?


Minor cost in storage, dwarfed by the date-added/date-modified and bdsk-file 
fields BibDesk adds. Generating it is a one-time cost, but it's used as a key 
in a hash table and hashing cite keys is a bit slow since it has to be done 
case-insensitively (copy and case-fold the string). We optimized that code 
pretty heavily, including the hash function, but lookups and manipulations of 
the citekey are still pretty expensive. My suspicion is that really long keys 
(say 15+ characters) will incur a bit more cost, but you'd have to profile it 
to be sure. It depends on the hash table implementation.

-- adam

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to