sqlite-jna
sqlite-jna copied to clipboard
How to avoid copying data twice ?
See https://github.com/gwenn/sqlite-jna/blob/9bc3697780a69303960ef5809795d4ee261e4b56/src/main/java/org/sqlite/SQLite.java#L796 And https://github.com/gwenn/sqlite-jna/blob/9bc3697780a69303960ef5809795d4ee261e4b56/src/main/java/org/sqlite/SQLite.java#L1118
- it seems impossible to use the
xDelcallback - Maybe we should use an
Arenaby statement instead oftry (Arena arena = Arena.ofConfined()) {...}and drop it whenresetorclear_bindingsorcloseis called ?
Partially fixed in https://github.com/gwenn/sqlite-jna/commit/77cc0ca36aeb2eb32386c8a04e8c1a2c8f9441fc