nlesc-sherlock / cluster-analysis

2 stars 4 forks source link

Investigate the overhead of the PrnuPatternCache and improve its performance #1

Closed benvanwerkhoven closed 8 years ago

benvanwerkhoven commented 8 years ago

Because image sets can get so big that not all PRNU patterns fit in memory at the same time, I've created a simple LRU cache for PRNU patterns. The current implementation is very simple and it's a good idea to see what we can do to improve its performance.

benvanwerkhoven commented 8 years ago

I've added some timers to investigate the overhead of the cache and it is surprisingly efficient, so I won't go further into this for the time being.