Comments (4)
Very good catch. I prepared fix. But I wan't to discuss default behavior.
I wan't to build cidre
as performant as I could, so I assume objc and rust allocators are the same. Your use case unveiled another scenario, which is rare case in my opinion.
So I have two possible feature flags:
assume-system-allocator
- in this case user can opt-in optimizations on allocations/deallocationscustom-allocator
- in this case user can opt-in that he is using custom allocator
from cidre.
I think default to optimizations and add custom-allocator
flag. What do you think?
from cidre.
Feel free to reopen if needed
from cidre.
Wow!
So objc <> Rust inter-op would be faster if I use default allocator?
from cidre.
Related Issues (10)
- Question: How does your message sending work? HOT 6
- Plans for collaboration with `objc2`? HOT 3
- Soundess issues HOT 8
- Try to implement
- Error building on macOS x86_64 HOT 6
- Strict types for vt::CompressionSession::new specs HOT 2
- A sync API to get SharableContent::current HOT 8
- NL (natural language) module HOT 2
- Add AVPlayerLayer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cidre.