Commit Graph
42 Commits
Author SHA1 Message Date
Marc Rousavy 916dc5d4a4 fix logs 2024-07-23 01:48:22 +02:00
Marc Rousavy 168a456a32 Properly add Swift size 2024-07-23 01:37:44 +02:00
Marc Rousavy a0c7caa2a8 fix: Properly get memory size including own cache map size 2024-07-23 01:34:44 +02:00
Marc Rousavy 565f613bb5 fix: Don't include C++ HybridObject size in memory size (it's already included) 2024-07-23 01:05:47 +02:00
Marc Rousavy 47800eca36 feat: Add memorySize to HybridObjects 2024-07-23 00:40:07 +02:00
Marc Rousavy ae6464abaf Update HybridContext.hpp 2024-07-22 23:19:43 +02:00
Marc Rousavy 4257dedf64 Fix TYPEID 2024-07-22 16:31:33 +02:00
Marc Rousavy 46504a6094 Use HybridContext from cache if available 2024-07-22 16:10:28 +02:00
Marc Rousavy 54753bbd7d Successfully register hybrid objects!! woohoo 2024-07-22 02:06:12 +02:00
Marc Rousavy 6b15467af8 Some final declarations 2024-07-18 01:30:33 +02:00
Marc Rousavy 5e7ce5a33e Also log total objects 2024-07-18 00:34:26 +02:00
Marc Rousavy 5c50d02b72 feat: Also log total alive instances 2024-07-18 00:31:14 +02:00
Marc Rousavy 3fe9d784aa fix: Fix Logger 2024-07-18 00:05:15 +02:00
Marc Rousavy 82925dbb3a fix: Fix toString() space 2024-07-17 23:32:08 +02:00
Marc Rousavy 756cd905e6 perf: Use contains instead of count 2024-07-17 23:32:01 +02:00
Marc Rousavy b5d832cf2d perf: Make all JSIConverter calls inline 2024-07-17 23:31:52 +02:00
Marc Rousavy 4262b7940e feat: Add name and equals methods to HybridObject 2024-07-17 23:24:10 +02:00
Marc Rousavy 77b0e9ddd2 Update HybridObject.hpp 2024-07-17 23:15:45 +02:00
Marc Rousavy eb7282536a Revert "perf: Also cache getPropertyNames"
This reverts commit eddad79f8c.
2024-07-17 23:14:44 +02:00
Marc Rousavy eddad79f8c perf: Also cache getPropertyNames 2024-07-17 23:14:38 +02:00
Marc Rousavy 09b8dea251 FunctionCache -> JSICache 2024-07-17 23:14:25 +02:00
Marc Rousavy 7bc2767348 fix: Move to namespace margelo::nitro 2024-07-17 21:49:11 +02:00
Marc Rousavy 51a56329aa fix: Forward-decl 2024-07-17 15:45:47 +02:00
Marc Rousavy 1b2ea4b1ac Move HybridContext into it's own file 2024-07-17 15:32:02 +02:00
Marc Rousavy eec426e433 feat: Create getHybridPart to move this logic 2024-07-17 13:47:26 +02:00
Marc Rousavy 3c0e96d81c Rename JSContext to HybridContext 2024-07-17 13:32:17 +02:00
Marc Rousavy 8240a03583 feat: Set JS Context in Swift 2024-07-17 13:27:21 +02:00
Marc Rousavy 24b1fde801 Update HybridObject.cpp 2024-07-16 18:35:33 +02:00
Marc Rousavy 19d3e848d5 fix: Make _mutex a unique ptr so it can be accessed from Swift 2024-07-16 18:30:05 +02:00
Marc Rousavy 9c7bf31287 chore: Remove EnumMapper as it is now statically generated (nitrogen) 2024-07-14 00:04:57 +02:00
Marc Rousavy 4d266e5837 Update HybridObject.cpp 2024-07-13 12:29:15 +02:00
Marc Rousavy a3988c7c08 Update HybridObject.cpp 2024-07-13 12:28:02 +02:00
Marc Rousavy 3d932dbb06 Add func name 2024-06-23 12:07:58 +02:00
Marc Rousavy 6b68537fd5 Create Borrowing/Owning reference types 2024-06-23 11:26:33 +02:00
Marc Rousavy 492ad57332 Update HybridObject.cpp 2024-06-20 16:42:49 +02:00
Marc Rousavy 198b894fe8 Make FunctionCache robust now 2024-06-20 16:40:06 +02:00
Marc Rousavy 166feb425f Create test object 2024-06-20 16:32:05 +02:00
Marc Rousavy 2bc02c0f6f A ton of improvements around jsi::Runtime safe code. 2024-06-20 16:20:13 +02:00
Marc Rousavy caf953f552 fix imports 2024-06-20 10:47:50 +02:00
Marc Rousavy 84b995e4eb Rename to .hpp 2024-06-20 10:41:09 +02:00
Marc Rousavy 0da06a7efb perf: Use get (assert) instead of as for faster perf! 2024-06-19 20:01:35 +02:00
Marc Rousavy ee1b3bd2cb Add core HybridObject infra 2024-06-19 19:57:47 +02:00