Switch profiles from Lua to library interface#2647
Conversation
f6ebeb5 to
27495b1
Compare
| }; | ||
|
|
||
| /** | ||
| * Creates a lua context and binds osmium way, node and relation objects and |
There was a problem hiding this comment.
Doc is a little bit outdated now.
|
Looks good. This shouldn't change any functionality and only add a slight overhead for virtual function calls but is much easier to reason about Feeling good about including this after 5.3.0 since API doesn't change. |
2478cc3 to
422b096
Compare
There's now an abstracted interface and no direct calls to Lua anymore. fixes #1974
422b096 to
1309dd2
Compare
|
This is included in master now. 🎉 |
|
I re-read this PR in the contex of #2926. I cannot see any obvious problems that would cause an increase in memory usage. But I notice that locks are used when the It seems like the answer is yes, but not many more. Would appreciate others eyes to rule this out. For example here the context was previously accessed once and then used in |
There's now an abstracted interface and no direct calls to Lua anymore.
fixes #1974
/cc @TheMarex @daniel-j-h