Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A function call costs nanoseconds. You can sprinkle them literally everywhere. A JSON-formatted TCP round trip to localhost costs, I'd guess conservatively, at least ten microseconds, 1000x slower.


OK. Here's my simple implementation of an LSP:

> func doLspStuff() { sleep(60000); }

Now sprinkle them after each keypress. Do you see the issue now?




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: