View Single Post
Old 10-19-2024, 01:36 AM   #143
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,639
Karma: 7908443
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by ownedbycats View Post
Since field_list_count() is faster, it'd be ideal if it works for this use-case.
I noticed it sort a tad faster than list_count, initially.

Quote:
Originally Posted by ownedbycats View Post
Yeah, I used to use a manual integer for #timesread too, but then I realized that the list_count composite would work instead.
Oh, I see! I remember now that you've shared the list count template with me and now I can picture another advantage over the integer: it means one less action on my double-click event chain. Will do some tests with the composite instead, thanks.

edit: I just tested list_count instead of integer on 7.20 stable and it meant a visible speed improvement on the double-click chain. Running from source I can use field_list_count but the timings are different from regular use.

Last edited by Comfy.n; 10-19-2024 at 02:14 AM.
Comfy.n is offline   Reply With Quote