Closed casperisfine closed 3 weeks ago
Not too sure why it helps quite a lot on activitypub
, but less on twitter
and almost not on ctim_catalog
.
Not too sure why it helps quite a lot on
activitypub
, but less onctim_catalog
.
Alright, after instrumenting:
citm_catalog.json
:
twitter.json
:
activitypub.json
:
So that explain why they don't all benefit the same from this.
If we assume most string don't contain any escape sequence we can avoid a lot of costly operations when it holds true.
Before:
After: