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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -