which is faster an ipc or a function call