[wp-trac] [WordPress Trac] #61170: Interactivity API: Improve JSON store serialization

WordPress Trac noreply at wordpress.org
Wed May 15 20:35:50 UTC 2024


#61170: Interactivity API: Improve JSON store serialization
-------------------------------+--------------------------------------
 Reporter:  jonsurrell         |       Owner:  jonsurrell
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  6.6
Component:  Interactivity API  |     Version:  6.5
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  javascript, performance
-------------------------------+--------------------------------------

Comment (by TobiasBg):

 Thanks for the explanation, @dmsnell! Yes, focussing on and emphasizing
 UTF-8 makes sense.

 And the micro-optimization can likely be neglected anyways (which is why I
 had it parentheses). One would really have to compare the numbers of
 bitwise-ORs, variable assignments, the negation in the if, etc., and all
 that with the pre-computations, which I hadn't even thought about.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61170#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list