Hacker News new | ask | show | jobs
by mister_hn 2411 days ago
O(1) as implementation time maybe, but as performance time is O(n)
1 comments

I don't think GraalVM polyglot interop is O(n). It uses multi-dimensional polymorphic inline caching (dispatch chains) which specialises for the number of languages using it, and so the interface between two languages is O(1).