php - Poor performance of getting the contents of a jpg or a json file in a zipped versus unzipped directory -


i have a.zip file on 100k jpg images , 400k json files. able contents of file inside a.zip using file_get_contents(zip:://path/to/a.zip#subdir/path/to/file) function (in php). however, takes 100 times more time (from 250 milli-seconds +25 seconds based on firebug) contents of file compared unzipped directory. suggest solution? thanks.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -