php - Is array_diff a good way to compare columns with 10 thousand entries? -
i have 2 tables , want compare particular column of both using array_diff. 1 column has more 10,000 entries , other has 25 entries max. fetching both columns arrays , taking array_difference way compare them or slow?
if have 2 tables, assume tables db. better write sql query join/difference , let db handle this
Comments
Post a Comment