[wp-trac] [WordPress Trac] #55069: Optimize POMO_FileReader.read_all() using stream_get_contents()

WordPress Trac noreply at wordpress.org
Sun Feb 13 14:40:48 UTC 2022


#55069: Optimize POMO_FileReader.read_all() using stream_get_contents()
---------------------------+-----------------------------
 Reporter:  maxkellermann  |       Owner:  SergeyBiryukov
     Type:  enhancement    |      Status:  accepted
 Priority:  normal         |   Milestone:  6.0
Component:  I18N           |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:13 maxkellermann]:
 > But if you do want it, I'll investigate what else can be optimized that
 way and send more patches.

 Please do :)

 > Maybe this kind of warning can be suppressed?

 Yes, on the second thought, we can just add error suppression for the
 `dir()` call.

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


More information about the wp-trac mailing list