Better HN
topnewbestaskshowjobs
Log inSign up

arisb

1 karma · joined Sep 3, 2018 (8y ago) · 3 submissions

Submissions

comment 8y ago · link · parent

I'm guessing you can't use `(x: number, y: string) => x === parseInt(y)`?

comment 8y ago · link · parent

If you are only reading from a table I don't think any relational database implementing MVCC would lock anything.

comment 8y ago · link · parent

Functions don't have to be optimization barries. If you mark them as stable or immutable I believe postgres will inline them whenever they are used such that they can be optimized.